Skip to main content
GET
/
authorize
OAuth 2 Authorization Endpoint
curl --request GET \
  --url https://api.receiptor.ai/oauth2/authorize
{
  "code": "<string>",
  "state": "<string>",
  "redirect_uri": "<string>"
}

Query Parameters

client_id
string
required

Client ID

client_secret
string
required

Client Secret

state
string
required

State

scope
enum<string>[]
required

Scope

redirect_uri
string
required

Redirect URI

response_type
enum<string>
default:code
required

Response Type

Available options:
code
code_challenge
string
required

Code Challenge

code_challenge_method
enum<string>
default:S256
required

Code Challenge Method

Available options:
S256

Response

200 - application/json

Success

code
string
required
state
string
required
redirect_uri
string
required