POST
/
oauth
/
authorize
Authorize Post
curl --request POST \
  --url https://api.digitalseaservice.com/oauth/authorize \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'action=<string>' \
  --data 'client_id=<string>' \
  --data 'redirect_uri=<string>' \
  --data 'code_challenge=<string>' \
  --data response_type=code \
  --data scope= \
  --data state= \
  --data code_challenge_method=S256 \
  --data 'user_id=<string>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/x-www-form-urlencoded
action
string
required
client_id
string
required
redirect_uri
string
required
code_challenge
string
required
response_type
string
default:code
scope
string
default:""
state
string
default:""
code_challenge_method
string
default:S256
user_id
string | null

Response

Successful Response