/integrations/telephony/carriersValidate a carrier API key and store it (encrypted).
Link Carrier Account
Validates the API key against the carrier, then stores it encrypted at rest. The key is never returned in any response. Uses the self-serve carrier_accounts:write scope. One active account per carrier per tenant — release the existing one before linking another.
Request body
3providerstringrequiredCarrier to link:
telnyx.api_keystringrequiredThe carrier REST API key. Validated against the carrier before it is stored; never echoed back.
labelstringoptionalOptional human-readable label.
Errors
5The carrier rejected the API key, or the provider is unknown.
Check the API key and that provider is telnyx.
A carrier account for this provider is already linked.
Release the existing account before linking another.
Per-tenant link rate limit exceeded (5/min).
Retry after the Retry-After interval.
The carrier's API rejected key validation with an upstream error (e.g. a carrier-side rate limit on the balance/profile read).
Retry shortly; if it persists, check the carrier account's API status.
The carrier API was unreachable, the rate limiter is offline, or the encryption key is missing.
Retry shortly; if it persists, contact support.
