Twilio

Organization Public API

Organization Public API endpoints from Twilio

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

Organization Public API endpoints from Twilio

Endpoints 13

SCIM

  • GETList SCIM Users/Organizations/:OrganizationSid/scim/Users?filter=string
  • POSTCreate SCIM User/Organizations/:OrganizationSid/scim/Users
  • GETGet SCIM User/Organizations/:OrganizationSid/scim/Users/:UserSid
  • PUTUpdate SCIM User/Organizations/:OrganizationSid/scim/Users/:UserSid
  • DELETEDelete SCIM User/Organizations/:OrganizationSid/scim/Users/:UserSid
  • PATCHPatch SCIM User/Organizations/:OrganizationSid/scim/Users/:UserSid

RoleAssignments

  • GETList role assignments/Organizations/:OrganizationSid/RoleAssignments?PageSize=100&PageToken=string&Identity=USa36de9717566c7eb6363671f54b87ba9&Scope=ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&ResourceType=string&ResourceId=stringList role assignments for the given organization
  • POSTCreate a role assignment/Organizations/:OrganizationSid/RoleAssignmentsCreate a role assignment for the given organization
  • DELETEDelete a role assignment/Organizations/:OrganizationSid/RoleAssignments/:RoleAssignmentSidDelete a role assignment for the given organization

OauthV1Authorize

  • GETRetrieves authorize uri/v1/authorize?response_type=code&client_id=OQ7cda1a615f05a95634e643aaaf7081d7&redirect_uri=www.twilio.com&scope=offline_access&state=xvz

OauthV1Token

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

OrganizationAccounts

  • GETList organization accounts/Organizations/:OrganizationSid/Accounts?PageSize=50&PageToken=string
  • GETGet details of organization account/Organizations/:OrganizationSid/Accounts/:AccountSid

API details

Base URL
https://preview-iam.twilio.com
Authentication
OAuth 2.0 (client credentials flow)
Operations
13 operations on 8 pathsGET 6POST 3DELETE 2PUT 1PATCH 1
Main resources
SCIM 6RoleAssignments 3OrganizationAccounts 2OauthV1Authorize 1OauthV1Token 1
Response formats
application/scim+json application/json
Description format
OpenAPI 3.0.1, API version 1.0.0

How to test the Organization Public API 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 Organization Public API collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (client credentials flow). Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “List SCIM Users” (GET /Organizations/:OrganizationSid/scim/Users?filter=string), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Organization Public API?

Organization Public API endpoints from Twilio It is listed under Communication and has 13 endpoints.

Who publishes the Organization Public 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 Organization Public API?

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

How do I authenticate with the Organization Public API?

With OAuth 2.0 (client credentials flow).

How many endpoints does the Organization Public API have?

13 operations on 8 paths (6 GET, 3 POST, 2 DELETE, 1 PUT, 1 PATCH). The largest groups are SCIM, RoleAssignments, OrganizationAccounts, OauthV1Authorize.

Is forking the Organization Public API 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.