Skip to content

OAuth 2.1 consent decision

POST
/oauth/authorize
curl --request POST \
--url https://app.buildworkpro.com/api/v1/oauth/authorize \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data request_uri=example \
--data decision=approve

Receives the user’s Approve/Deny decision from the consent form. Body is form-encoded with request_uri (the original GET URL) and decision (approve or deny). Always redirects back to the client’s redirect_uri.

Media type application/x-www-form-urlencoded
object
request_uri
required
string
decision
required
string
Allowed values: approve deny

Redirect to client redirect_uri

Fatal validation error (HTML)

Media type text/html
string