Skip to main content
POST
https://punchplay.tv
/
api
/
platform
/
v1
/
oauth
/
authorize
Complete OAuth consent
curl --request POST \
  --url https://punchplay.tv/api/platform/v1/oauth/authorize \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'client_id=<string>' \
  --data 'redirect_uri=<string>' \
  --data 'code_challenge=<string>' \
  --data 'scope=<string>' \
  --data 'state=<string>'
{
  "message": "<string>",
  "request_id": "<string>",
  "required_scope": "<string>"
}

Body

application/x-www-form-urlencoded
client_id
string
required
redirect_uri
string<uri>
required
code_challenge
string
required
decision
enum<string>
required
Available options:
approve,
deny
response_type
enum<string>
Available options:
code
code_challenge_method
enum<string>
Available options:
S256
scope
string
state
string | null

Response

Redirects back to the registered redirect URI with code or error.