OauthV1Token

Issues a new Access token (optionally identity_token & refresh_token) in exchange of Oauth grant

Issues a new Access token (optionally identity_token & refresh_token) in exchange of Oauth grant

post/v1/token

Response

Created

access_tokenstring nullable

Token which carries the necessary information to access a Twilio resource directly.

refresh_tokenstring nullable

Token which carries the information necessary to get a new access token.

id_tokenstring nullable

Token which carries the information necessary of user profile.

token_typestring nullable

Token type

expires_ininteger nullable

Changes

Changed in 4 of the 43 revisions of this API.379

    • the endpoint scheme security accountSid_authToken was removed from the API

      api-security-removed

  • v1e0385b93e66b13See the full diff
    • the expires_in response's property type/format changed from string/date-time to integer/int64 for status 201

      response-property-type-changed

    • added the new optional request property RefreshToken

      new-optional-request-property

    • added the new optional request property Scope

      new-optional-request-property

    • the request property ClientSecret became optional

      request-property-became-optional

  • v15fa9155efe92274See the full diff
    • added the new required request property ClientId

      new-required-request-property

    • the request property ClientSecret became required

      request-property-became-required

    • removed the request property ClientSid

      request-property-removed

    • removed the request property CodeVerifier

      request-property-removed

    • removed the request property DeviceCode

      request-property-removed

    • removed the request property DeviceId

      request-property-removed

    • removed the request property RefreshToken

      request-property-removed

    • removed the optional property access_token_expires_at from the response with the 201 status

      response-optional-property-removed

    • removed the optional property refresh_token_expires_at from the response with the 201 status

      response-optional-property-removed

    • added the new optional request property Audience

      new-optional-request-property

    • added the new optional request property RedirectUri

      new-optional-request-property

    • added the optional property expires_in to the response with the 201 status

      response-optional-property-added

    • added the optional property token_type to the response with the 201 status

      response-optional-property-added

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • api tag OauthV1Token added

      api-tag-added