Twilio

Twilio IAM v1

This is the public Twilio REST API.

Communication#openapi

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

This is the public Twilio REST API.

Endpoints 10

IamV1ApiKey

  • GETFetchKey/v1/Keys/:SidFetch a specific Key.
  • POSTUpdateKey/v1/Keys/:SidUpdate a specific Key.
  • DELETEDeleteKey/v1/Keys/:SidDelete a specific Key.

IamV1GetApiKeys

  • GETListGetKeys/v1/Keys?AccountSid=ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&PageSize=1&Page=0&PageToken=stringRetrieve a list of all Keys for a account.

IamV1NewApiKey

  • POSTCreateNewKey/v1/KeysCreate a new Signing Key for the account making the request.

IamV1RolePermission

  • GETListRolePermission/v1/Roles/:RoleSid/Permissions?PageSize=1&Page=0&PageToken=stringList resolved permissions for a role

OauthV1Token

  • POSTIssues a new Access token (optionally identity_token & refresh_token) in exchange of Oauth grant/v1/token

Oauth2

  • PUTUpdates an existing OAuth app for the given OauthAppSid/v1/Account/OAuthApps/:sid
  • DELETEDeletes an oauth app for the given AccountSid/v1/Account/OAuthApps/:sid
  • POSTCreates an oauth app for the given AccountSid/v1/Account/OAuthApps

API details

Base URL
https://iam.twilio.com
Authentication
HTTP Basic authentication (username and password)
A bearer token in the Authorization header
A bearer token in the Authorization header
Operations
10 operations on 6 pathsPOST 4GET 3DELETE 2PUT 1
Main resources
IamV1ApiKey 3Oauth2 3IamV1GetApiKeys 1IamV1NewApiKey 1IamV1RolePermission 1OauthV1Token 1
Response formats
application/json
Description format
OpenAPI 3.0.1, API version 1.0.0

How to test the Twilio IAM v1 in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Twilio IAM v1 collection, without the publisher's secrets.
  3. 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.
  4. Send a requestPick an endpoint, for example “FetchKey” (GET /v1/Keys/:Sid), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Twilio IAM v1?

This is the public Twilio REST API. It is listed under Communication and has 10 endpoints.

Who publishes the Twilio IAM v1?

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 Twilio IAM v1?

Requests go to https://iam.twilio.com. Endpoint paths are added to this base URL.

How do I authenticate with the Twilio IAM v1?

It accepts 3 methods: HTTP Basic authentication (username and password); A bearer token in the Authorization header; A bearer token in the Authorization header.

How many endpoints does the Twilio IAM v1 have?

10 operations on 6 paths (4 POST, 3 GET, 2 DELETE, 1 PUT). The largest groups are IamV1ApiKey, Oauth2, IamV1GetApiKeys, IamV1NewApiKey.

Is forking the Twilio IAM v1 free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.