> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Twilio with Organizations API — OAuth 2.0 (Client Credentials) – StackOne Hub

> Link a Twilio account in the StackOne Hub using Organizations API — OAuth 2.0 (Client Credentials). End-user guide to authorize the integration and start using Twilio actions.

> [!WARNING]
>
> Twilio's SCIM Users API (used by unified\_list\_users / unified\_get\_user) is documented by Twilio as using the OAuth 2.0 Authorization Code grant, while this auth method uses Client Credentials. Client Credentials is confirmed to work for the Role and RoleAssignment APIs (unified\_list\_roles, unified\_get\_role, and the roles expand on unified\_get\_user); its compatibility with the SCIM Users API has not been confirmed against a live tenant.

Select Actions to adjust the guideSome actions may require additional configuration in the provider to be accessible. Choose the actions you need and the guide will be updated.

Select all
Clear

ActionScope(s)

Loading actions...No actions match your search.

Dynamic Guide URL

Copy URL

Scopes Selected

<pre role="textbox" aria-readonly="true" tabIndex="0" />

Separator

Copy scopes

## Locate your Organization SID

Sign in to the [Twilio Console](https://www.twilio.com/console). Open the Admin drop-down menu and click **Organization > Twilio Admin**. Your Organization SID (starts with `OR`) is shown on the Twilio Admin page.

## Create an OAuth App

Create an Organization-level OAuth application for StackOne.

**1. Create the OAuth application**

Enables actions: Get Unified Credentials, Get Unified Organization, Get Unified Role, IAM Auth Test, List Unified Organizations, List Unified Roles

In Twilio Console, navigate to **Settings > Organization settings > Organization API access** and click **Create OAuth application**. Select the Client Credentials grant type, and on the scopes step grant the scopes listed below. The `iam.role-assignments:list` scope adds role details when listing or getting users.

<ul>
  <li>
    iam.roles:list
  </li>

  <li>
    iam.role-assignments:list
  </li>
</ul>

**2. Copy your credentials**

Copy the **Client ID** and **Client Secret**, then paste them into the **Client ID** and **Client Secret** fields when you connect your account.

<ul>
  <li>The Client Secret is shown only once. Copy it before you leave the page.</li>
</ul>

## Link the Account

**1. Connect**

<ul>
  <li>Click **Connect**.</li>
  <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
  <li>Once authorization is successful, you will see a confirmation popup.</li>
</ul>

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).

## Next Steps

> [card] [Webhooks setup](https://docs.stackone.com/connectors/twilio/guides/webhook-setup.md)
>
> Configure receiving Events for Twilio into StackOne.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.