Provision an account-scoped messaging channel

post/provision

Request

  • Base URL: https://sendinel.ai/api/v1
  • URL: https://sendinel.ai/api/v1/provision
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://sendinel.ai/oauth/authorize, token URL https://sendinel.ai/oauth/token)

Request body

channel'sms' | 'whatsapp' | 'telegram'
provider'telnyx' | 'twilio' | 'meta' | 'telegram'
friendly_namestring
area_codestring

3-digit US area code for managed SMS provisioning

phone_numberstring

Required for Twilio BYO when channel=sms

credentialsobject

Provider-specific BYO credentials:

  • Twilio SMS: account_sid, auth_token
  • WhatsApp Meta: access_token, phone_number_id, business_account_id?, verify_token?, app_secret?
  • Telegram: bot_token, bot_username?

Response

Existing active provision returned idempotently

Changes

No recorded changes to this operation across all 1 revision of this API.