S
Samva
S
Samva
DashboardAPISamva DocumentationQuickstart GuideAuthentication

Api referenceWhatsapp

Sync WhatsApp Business Account Status

POST
/whatsapp/business-accounts/:accountId/sync

Authorization

apiKey
X-API-Key<token>

API key for authentication

In: header

Request Body

application/json

accountId*string
Formatuuid

Response Body

application/json

curl -X POST "https://samva.app/api/v1/whatsapp/business-accounts/:accountId/sync" \  -H "Content-Type: application/json" \  -d '{    "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9"  }'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "qualityRating": "green",
  "messagingLimit": "string",
  "currentLimit": 0,
  "verificationStatus": "pending",
  "syncedAt": "2019-08-24T14:15:22Z"
}
curl -X POST "https://samva.app/api/v1/whatsapp/business-accounts/:accountId/sync" \
  -H "Content-Type: application/json" \
  -d '{
    "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9"
  }'