For the complete documentation index, see llms.txt. This page is also available as Markdown.

Twilio Integration Setup

Getting Started

Use this guide to connect Twilio to your BalkanID tenant. You will need credentials from the Twilio Console and access to the Integrations section in BalkanID.

Twilio integration requires Twilio Organizations. The users, roles and accounts BalkanID reads are organization-level resources, and the APIs behind them are only available to accounts with Organizations enabled.

Requirements:

Before you begin, collect the following values from Twilio:

  • Client ID

  • Client Secret

  • Organization SID

Configure Twilio within your BalkanID tenant

  1. To find the Client ID and Client Secret, sign in to the Twilio Console as an Organization Owner or Organization Admin.

  2. Navigate to Settings > Organization settings > Organization API access, then click Create OAuth application.

  3. Choose the Client Credentials grant type. This is a machine-to-machine credential, so there is no redirect URL to configure and no user consent step.

  4. At the Scopes & permissions step, select all managed-users scopes, plus twilio/iam/roles/list, twilio/iam/role-assignments/list and twilio/iam/accounts/list (see Integration Scopes below). Complete the app creation.

  5. Copy the Client ID and Client Secret from the Copy secret page. The secret is shown only once — store it securely before continuing. You can find the Client ID again later on the application's Credentials tab, and rotate the secret from there if needed.

  6. From Settings > Organization settings, copy your Organization SID. It begins with OR.

  7. In BalkanID, go to Integrations and click Add integration.

The BalkanID Integrations page with the Add integration button in the top right
Integrations
  1. Select Twilio from the application list, then click Next.

Twilio selected in the Connect a new application step
Connect a new application
  1. Set the Primary application owner and a Description, if any. Under Select Extraction Type, keep Direct Configuration selected and paste your Client ID, Client Secret and Organization SID into the corresponding fields, then click Next.

The Direct Configuration fields for Client ID, Client Secret and Organization SID
Direct Configuration
  1. Fill Optional Configuration, if required.

Reviewer settings and fulfillment options in the Optional Configuration step
Optional Configuration
  1. Once you have filled in the information, click Save. Your integration is now configured and you will see the status of the integration displayed alongside other integrations on the Integrations page. When data is available, the integration Status column will read Connected and the integration Message will read Data available.

Integration Scopes

BalkanID reads Twilio data only. None of the scopes below grant write access.

Read Only Scopes
Lifecycle Management Scopes

managed-users (Read) — the users in your Twilio organization

N/A

twilio/iam/roles/list — the roles available in your organization

N/A

twilio/iam/role-assignments/list — which users hold which roles, and at which scope

N/A

twilio/iam/accounts/list — the accounts and sub-accounts users can be granted access to

N/A

Last updated

Was this helpful?