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.
Access Path & Permissions
Section titled “Access Path & Permissions”- Portal URL:
/developer/sync-credentials - Required Permissions:
integration:readto view the list of credentials, andintegration:manageto add or rotate a password.
Multi-Department Credential Architecture
Section titled “Multi-Department Credential Architecture”- 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. - 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.
- Default Sender Number (Fallback Phone): Account managers can specify a default number used when a send request does not specify a number ID explicitly.
Credential Parameters & Table
Section titled “Credential Parameters & Table”| Column | Description |
|---|---|
| Client ID / Username | Unique department username for Basic Auth authentication on the Sync-API. |
| Bound Phone | The official WhatsApp phone number assigned to that department. |
| Status | Active status of the credential account (ACTIVE or INACTIVE). |
| Actions | Options to rotate the password (Rotate Password) or delete the credential (Delete). |
Secure Credential Rotation
Section titled “Secure Credential Rotation”If a division’s password needs to be updated periodically in accordance with banking security policies:
- Open the rotation form on the relevant credential row.
- Enter a new password that meets the complexity standards.
- Save the changes. The old password is deactivated immediately without affecting credentials of other divisions.
- Open Developer → Sync API (
/developer/sync-credentials). - Click Add Credential.
- Enter
Username,Password, and select the appropriate sender phone number from the list of active WABA numbers. - Click Save Credential. The credential becomes active immediately on the sync gateway.
Errors and Retries
Section titled “Errors and Retries”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:
| Endpoint | HTTP Status | Condition & Retry-After Header |
|---|---|---|
POST /api/v1/{phone_number_id}/messages | 429 Too Many Requests | The sender number is above its throughput. Includes a Retry-After header (in seconds). |
POST /api/v1/{phone_number_id}/messages | 429 Too Many Requests | The Sync API gateway is at capacity (error type overloaded). Includes Retry-After: 2. |
POST /api/v1/{phone_number_id}/messages | 409 Conflict | The send was rejected by Meta, returning the error body of the account’s Sync API profile. |
GET /report-dashboard | 503 Service Unavailable | Includes 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
429and503responses after waiting for the duration inRetry-After. - Do not retry other
4xxresponses (including409).