Oauth2

Creates an oauth app for the given AccountSid

post/v1/Account/OAuthApps

Request body

typestring
friendly_namestring
owner_sidstring nullable
descriptionstring
client_sidstring nullable
token_endpoint_auth_method'client_secret_basic'

Determines how the client authenticates. Account OAuth apps on v1 only support 'client_secret_basic'. For PKCE (none), use the v2 API.

access_token_ttlinteger

Response

Returns newly created vendor oauthApp

typestring
sidstring
friendly_namestring
descriptionstring
date_createdstring date-time
created_bystring
creator_sidstring

The unique identifier (SID) of the user who created this OAuth app.

secretstring
statusstring
access_token_ttlinteger

Changes

Changed in 2 of the 35 revisions of this API.3

    • added the new optional request property token_endpoint_auth_method

      new-optional-request-property

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

      response-optional-property-added

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

    • endpoint added

      endpoint-added