Skip to content

Sync API Credentials

Page Sync API (/developer/sync-credentials) is used to manage Sync-API protocol connection credentials (an enterprise synchronization protocol such as Mandiri / Damcorp banking). Unlike standard REST API keys, this interface allows the creation of a username and password pair unique per department or company division, where each credential is bound exclusively to a specific WhatsApp sender number.

  • Portal URL: /developer/sync-credentials
  • Required Permissions: integration:read to view the list of credentials, and integration:manage to add or rotate a password.
  1. One Credential per Department: Each business division (e.g., Credit Card Division, Mortgage Division, or Customer Care) has its own client_id (username) and password.
  2. Sender Number Binding (Bound Phone): Each username is bound directly to the corresponding WABA number. Messages sent using that username are automatically allocated through the mapped phone number.
  3. Default Sender Number (Fallback Phone): Account managers can specify a default number used when a send request does not specify a number ID explicitly.
ColumnDescription
Client ID / UsernameUnique department username for Basic Auth authentication on the Sync-API.
Bound PhoneThe official WhatsApp phone number assigned to that department.
StatusActive status of the credential account (ACTIVE or INACTIVE).
ActionsOptions to rotate the password (Rotate Password) or delete the credential (Delete).

If a division’s password needs to be updated periodically in accordance with banking security policies:

  1. Open the rotation form on the relevant credential row.
  2. Enter a new password that meets the complexity standards.
  3. Save the changes. The old password is deactivated immediately without affecting credentials of other divisions.
  1. Open Developer → Sync API (/developer/sync-credentials).
  2. Click Add Credential.
  3. Enter Username, Password, and select the appropriate sender phone number from the list of active WABA numbers.
  4. Click Save Credential. The credential becomes active immediately on the sync gateway.

The Sync API send endpoint (POST /api/v1/{phone_number_id}/messages and its aliases) answers after Meta accepts the message. The error and Retry-After contract for the Sync API is:

EndpointHTTP StatusCondition & Retry-After Header
POST /api/v1/{phone_number_id}/messages429 Too Many RequestsThe sender number is above its throughput. Includes a Retry-After header (in seconds).
POST /api/v1/{phone_number_id}/messages429 Too Many RequestsThe Sync API gateway is at capacity (error type overloaded). Includes Retry-After: 2.
POST /api/v1/{phone_number_id}/messages409 ConflictThe send was rejected by Meta, returning the error body of the account’s Sync API profile.
GET /report-dashboard503 Service UnavailableIncludes a Retry-After header by condition type:
• overloaded — busy (2 or 10 seconds)
• report_preparing — the report is being built (retry after the given seconds)
• report_unavailable — temporary unavailability (10 seconds)

Client retry rules:

  • Retry 429 and 503 responses after waiting for the duration in Retry-After.
  • Do not retry other 4xx responses (including 409).