User OAuth API
User OAuth API
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
User OAuth API
Endpoints 2
OauthV2Token
- POSTIssues a new Access token (optionally identity_token & refresh_token) in exchange of Oauth grant
/v2/token?account_sid=string
OauthV2Authorize
- GETRetrieves authorize uri
/v2/authorize?response_type=code&client_id=OQ7cda1a615f05a95634e643aaaf7081d7&redirect_uri=www.twilio.com&scope=offline_access&state=xvz&code_challenge=E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM&code_challenge_method=S256
API details
- Base URL
https://oauth.twilio.com- Authentication
- HTTP Basic authentication (username and password)
OAuth 2.0 (client credentials flow) - Operations
- 2 operations on 2 pathsGET 1POST 1
- Main resources
- OauthV2Authorize 1OauthV2Token 1
- Response formats
application/json- Description format
- OpenAPI 3.0.1, API version
1.0.0 - Links
- OpenAPI document · Terms of service · Support
- Listed from
- Twilio's published OpenAPI description (twilio/twilio-oai) (MIT)
How to test the User OAuth API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the User OAuth API collection, without the publisher's secrets.
- Add your credentialsThis API uses HTTP Basic authentication (username and password). Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Issues a new Access token (optionally identity_token & refresh_token) in exchange of Oauth grant” (POST /v2/token?account_sid=string), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the User OAuth API?
User OAuth API It is listed under Communication and has 2 endpoints.
Who publishes the User OAuth API?
It is listed from Twilio's public API description (an OpenAPI document), not published by Twilio on Swastik Codes. Anyone who controls twilio.com can claim the profile by adding a DNS TXT record.
What is the base URL of the User OAuth API?
Requests go to https://oauth.twilio.com. Endpoint paths are added to this base URL.
How do I authenticate with the User OAuth API?
It accepts 2 methods: HTTP Basic authentication (username and password); OAuth 2.0 (client credentials flow).
How many endpoints does the User OAuth API have?
2 operations on 2 paths (1 GET, 1 POST). The largest groups are OauthV2Authorize, OauthV2Token.
Is forking the User OAuth API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.