Skip to content
Select language:English

/api/v1/oauth/consent (POST)

POST
/api/v1/oauth/consent
curl --request POST \
--url 'https://example.com/api/v1/oauth/consent?client_id=example' \
--header 'Content-Type: application/json' \
--data '{ "accept": true, "scope": "read", "locationIds": [] }'
client_id
required
string
>= 1 characters <= 400 characters
scope
string
<= 400 characters
Media typeapplication/json
object
accept
required
boolean
scope
required
string
Allowed values: read write
locationIds
Array<string>
default: <= 100 items

Default Response

Media typeapplication/json
object
redirectTo
required
string
Examplegenerated
{
"redirectTo": "example"
}