Retrieves authorize uri

GET /v1/authorize

Query parameters

  • response_type string

    Response Type

  • client_id string

    The Client Identifier

  • redirect_uri string

    The url to which response will be redirected to

  • scope string

    The scope of the access request

  • state string

    An opaque value which can be used to maintain state between the request and callback

Responses

  • 302 application/json

    Found

    Hide response attribute Show response attribute object
    • redirect_to string(uri) | null

      The callback URL

GET /v1/authorize
curl \
 --request GET 'https://preview-iam.twilio.com/v1/authorize'
Response examples (302)
{
  "redirect_to": "https://www.twilio.com/authorize?response_type=code&client_id=OQ7cda1a615f05a95634e643aaaf7081d7&redirect_uri=www.twilio.com&scope=offline_access&state=xvz"
}