Replace channel credentials
const url = 'https://api.siprtc.io/v1/Accounts/example/Integrations/Channels/example/Credentials';const options = { method: 'PUT', headers: {Authorization: 'Basic <credentials>', 'Content-Type': 'application/json'}, body: '{"access_token":"EAAG-fake-access-token","account_sid":"AC00000000000000000000000000000000","api_key":"fake-movider-key","api_secret":"fake-movider-secret","app_secret":"0123456789abcdef0123456789abcdef","auth_id":"MA000000000000000000","auth_token":"fake-auth-token","phone_number_id":"100000000000001","smpp":{"host":"smpp.example.net","mode":"transceiver","password":"fake-pass","port":2775,"receive_port":2776,"source_npi":0,"source_ton":5,"system_id":"acme01","system_type":"","throughput":50,"tls":false},"waba_id":"200000000000002"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://api.siprtc.io/v1/Accounts/example/Integrations/Channels/example/Credentials \ --header 'Authorization: Basic <credentials>' \ --header 'Content-Type: application/json' \ --data '{ "access_token": "EAAG-fake-access-token", "account_sid": "AC00000000000000000000000000000000", "api_key": "fake-movider-key", "api_secret": "fake-movider-secret", "app_secret": "0123456789abcdef0123456789abcdef", "auth_id": "MA000000000000000000", "auth_token": "fake-auth-token", "phone_number_id": "100000000000001", "smpp": { "host": "smpp.example.net", "mode": "transceiver", "password": "fake-pass", "port": 2775, "receive_port": 2776, "source_npi": 0, "source_ton": 5, "system_id": "acme01", "system_type": "", "throughput": 50, "tls": false }, "waba_id": "200000000000002" }'Replaces a connection’s provider credentials once the provider accepts them. The body is the credentials object itself (same keys as credentials on connect, by the connection’s channel and provider). They must belong to the same provider account (400 “these credentials belong to another provider account”), except for SMPP, where a new bind moves the sender to that link. Credentials are shared by all of the account’s senders of that provider, so this updates them all. The provider webhook is set again and status becomes active or action_required. For a sender imported by hand this finishes its setup; an imported WhatsApp number must also send phone_number_id and waba_id here. Authentication: HTTP Basic with the account’s Auth ID and Auth Secret. {auth_id} must be the authenticated account itself: a parent account’s credentials on a sub-account’s path are refused with 403 “account mismatch”, and only an account of type tenant may manage channels (403 “only the tenant administrator manages channels”). Another account’s connection is reported as 404, never shown.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Auth ID of the account (must be the authenticated account)
Channel connection id (CH followed by 32 hex characters)
Request Bodyrequired
Section titled “ Request Bodyrequired ”New provider credentials (write-only)
object
AccessToken is the WhatsApp Cloud API access token (system user token) of the WABA. WhatsApp only; required.
Example
EAAG-fake-access-tokenAccountSID is the Twilio Account SID (“AC” + 32 hex). Twilio only; required.
Example
AC00000000000000000000000000000000APIKey is the Movider API key. Movider only; required.
Example
fake-movider-keyAPISecret is the Movider API secret. Movider only; required.
Example
fake-movider-secretAppSecret is the Meta app secret that signs WhatsApp webhook calls. WhatsApp only; required.
Example
0123456789abcdef0123456789abcdefAuthID is the Plivo Auth ID (“MA” or “SA” + 18 characters). Plivo only; required.
Example
MA000000000000000000AuthToken is the Twilio auth token, the Plivo auth token, or the Viber bot token. Required for twilio, plivo and viber.
Example
fake-auth-tokenPhoneNumberID is the WhatsApp phone number id; only used on PUT …/Credentials to finish a WhatsApp number that was imported without it.
Example
100000000000001SMPP is the SMPP vendor’s link (provider smpp only; required for it).
object
Host is the vendor’s SMPP server: a hostname or an IP address. Required.
Example
smpp.example.netMode is transceiver (default: one bind both ways), separate (transmitter on port, receiver on receive_port) or transmitter (send only: no delivery reports and no replies; allowed only for a sender_id).
Example
transceiverPassword is the SMPP bind password (1-64 printable characters, no quotes or backslashes). Required; write-only.
Example
fake-passPort is the vendor’s SMPP port (1-65535); in separate mode the transmitter port. Required.
Example
2775ReceivePort is the receiver port (1-65535); required in separate mode.
Example
2776SourceNPI is the numbering plan indicator for the source address (0-18); omitted uses the gateway’s default.
Example
0SourceTON is the type of number for the source address (0-18); omitted uses the gateway’s default.
Example
5SystemID is the SMPP bind user (1-16 printable characters, no quotes or backslashes). Required.
Example
acme01SystemType is the optional SMPP system_type (up to 13 printable characters).
Example
Throughput is the messages per second the vendor allows (0-10000); 0 = no limit.
Example
50TLS binds over TLS.
Example
falseWabaID is the WhatsApp Business Account id; only used on PUT …/Credentials to finish a WhatsApp number that was imported without it.
Example
200000000000002Responses
Section titled “ Responses ”OK
object
Data is the connection, with its webhook details.
object
AccountID is the Auth ID of the account that owns the connection.
Address is what customers see: an E.164 number, a Movider sender ID, or the bot’s name.
ApplicationID is the SIPRTC application that handles inbound messages on this sender.
CallbackURL is the platform URL the provider delivers this sender’s inbound messages and status reports to
(https://
Channel is the messaging channel: whatsapp, sms or viber.
ConnectionID identifies the connection in the Channels API: “CH” followed by 32 hex characters.
CountryCodes are the international calling codes (digits only, no “+”) this sender is used for when sending. Not used for Viber.
CreatedAt is when the connection was made (RFC 3339, UTC).
CreatedBy is the user who connected the sender, or the Auth ID when it was connected with API credentials.
DisplayName is the connection’s label (up to 64 characters).
Imported: set up by hand before onboarding. A WhatsApp or SMS sender stops being imported once its credentials are added; a Viber bot keeps the flag, because its stored bot id is not Viber’s.
LastCheckedAt is when the credentials were last checked with the provider (RFC 3339, UTC).
ParentAuthID is the Auth ID of the owning account’s parent account, empty for a top-level account.
Provider is who carries the messages: meta (WhatsApp), twilio, plivo, movider or smpp (SMS), viber (Viber).
ProviderAccount is the WABA id, Twilio account SID, Plivo auth id or Movider API key (for SMPP, the platform’s id of the vendor link).
ProviderSender is the phone number id, Twilio number SID, Plivo number, Movider API key and sender ID, or Viber bot id.
SendOnly: the sender is a sender ID, not a number: customers cannot reply, and the provider has no webhook to set. Every Movider sender is one.
Status: provisioning (being set up), active (credentials accepted and the provider’s webhook set), action_required (saved, but the provider refused a check; see status_detail), unverified (imported, not yet proved with the provider).
StatusDetail says what the provider refused when status is action_required.
UpdatedAt is when the connection last changed (RFC 3339, UTC).
UpdatedBy is the login that last changed the connection.
VerifyToken is the webhook verify token Meta echoes when it checks callback_url (WhatsApp only).
WebhookSid identifies the platform webhook the provider calls back (a UUID). The callback URL is shown as callback_url on a single connection.
Message describes what was done (“Channel connected”, “Channel updated”, “Credentials updated”, “Channel checked”; empty on a read).
Status is “success”.
Example
{ "data": { "account_id": "AC000000000000000000", "address": "+15555550100", "application_id": 1234, "callback_url": "https://webhooks.example.com/v1/PubWebHooks/9f1c2d3e-0000-4000-8000-000000000001", "channel": "whatsapp", "connection_id": "CH0123456789abcdef0123456789abcdef", "country_codes": [ "1", "44" ], "created_at": "2026-11-20T10:15:00Z", "created_by": "AC000000000000000000", "display_name": "Support line", "imported": false, "last_checked_at": "2026-11-20T10:15:00Z", "parent_auth_id": "AC000000000000000099", "provider": "meta", "provider_account": "AC00000000000000000000000000000000", "provider_sender": "PN00000000000000000000000000000000", "send_only": false, "status": "provisioning", "status_detail": "Twilio webhook: the provider rejected these credentials", "updated_at": "2026-11-20T10:15:00Z", "updated_by": "AC000000000000000000", "verify_token": "0123456789abcdef0123456789abcdef0123456789abcdef", "webhook_sid": "9f1c2d3e-0000-4000-8000-000000000001" }, "message": "Channel connected", "status": "success"}Invalid body or missing/invalid credential field, transmitter mode on a number, or credentials of another provider account
object
Message says what went wrong.
Status is always “failed” on an error (some validation errors omit it).
Example
{ "message": "error message", "status": "failed"}Missing or invalid credentials; the body is the JSON string Authentication failed
Example generated
exampleAccount mismatch, or the account is not a tenant
object
Message says what went wrong.
Status is always “failed” on an error (some validation errors omit it).
Example
{ "message": "error message", "status": "failed"}No such connection on this account (message: channel connection not found)
object
Message says what went wrong.
Status is always “failed” on an error (some validation errors omit it).
Example
{ "message": "error message", "status": "failed"}Conflict: the sender, number, WhatsApp Business account or provider account is already in use (message says which)
object
Message says what went wrong.
Status is always “failed” on an error (some validation errors omit it).
Example
{ "message": "error message", "status": "failed"}The provider rejected the credentials or the sender (message names the provider’s reason)
object
Message says what went wrong.
Status is always “failed” on an error (some validation errors omit it).
Example
{ "message": "error message", "status": "failed"}Internal error, including a failed account lookup (message: the channel could not be saved)
object
Message says what went wrong.
Status is always “failed” on an error (some validation errors omit it).
Example
{ "message": "error message", "status": "failed"}The provider could not be reached or answered 429/5xx; nothing was changed; try again
object
Message says what went wrong.
Status is always “failed” on an error (some validation errors omit it).
Example
{ "message": "error message", "status": "failed"}Channel onboarding is not configured on this platform
object
Message says what went wrong.
Status is always “failed” on an error (some validation errors omit it).
Example
{ "message": "error message", "status": "failed"}