API Reference
Get a WhatsApp Business Account
/{waba-id}https://whatsapp.mimicr.dev/v24.0 · provider: https://graph.facebook.com/v24.0Returns the WhatsApp Business Account. With fields=analytics.start(<unix>).end(<unix>).granularity(DAY) it returns message analytics (sent and delivered). In Mimicr, analytics is partial: one data point with the totals of the period.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
WhatsApp Business Account (WABA) ID.
"313255174969123"Query parameters
Comma-separated fields, or the analytics field expansion.
Responses
200WABA.
WABA ID.
Business name.
Time zone ID.
Template namespace.
Account review status.
Business verification status.
Currency of the account.
Country.
Ownership type.
Returned when fields=analytics… is requested.
Show child attributes
Granularity.
Show child attributes
Start, Unix timestamp.
End, Unix timestamp.
Messages sent.
Messages delivered.
400WABA not found or of another business (100, subcode 33).
Show child attributes
Human-readable error message, for WhatsApp errors prefixed with (#code).
Exception type.
"OAuthException"Error code. See the error codes reference.
More specific code, when there is one (for example 33 for objects that do not exist or are not visible to the token, 460 for revoked tokens, 2388024 for duplicate templates).
Title meant to be shown to the end user.
Message meant to be shown to the end user.
Show child attributes
Always whatsapp.
Details about the error.
Trace ID. Include it when you contact support.
401Missing, invalid or revoked access token (190; a revoked token adds error_subcode: 460). A missing token answers 400 with code 104.
Show child attributes
Human-readable error message, for WhatsApp errors prefixed with (#code).
Exception type.
"OAuthException"Error code. See the error codes reference.
More specific code, when there is one (for example 33 for objects that do not exist or are not visible to the token, 460 for revoked tokens, 2388024 for duplicate templates).
Title meant to be shown to the end user.
Message meant to be shown to the end user.
Show child attributes
Always whatsapp.
Details about the error.
Trace ID. Include it when you contact support.