API Reference
Read receipts and typingPOSTMark as read
TemplatesGETList templatesPOSTCreate a templateDELDelete templates by nameGETGet a templatePOSTEdit a templateDELDelete a template
Phone numbersGETList phone numbersGETGet a phone numberPOSTSet two-step verification PINPOSTRegister a phone numberPOSTDeregister a phone numberPOSTRequest a verification codePOSTVerify the code
Business profile and blockingGETGet the business profilePOSTUpdate the business profileGETList blocked usersPOSTBlock usersDELUnblock users
WABA and webhooksGETGet a WhatsApp Business AccountGETList subscribed appsPOSTSubscribe the appDELUnsubscribe the app
FlowsGETList FlowsPOSTCreate a FlowGETGet a FlowPOSTUpdate Flow metadataDELDelete a FlowPOSTPublish a FlowPOSTDeprecate a FlowPOSTUpdate the Flow JSONGETList Flow assets
Revoke permissions
DELETE
Base URL: /me/permissionshttps://whatsapp.mimicr.dev/v24.0 · provider: https://graph.facebook.com/v24.0Revokes the app's permissions (deauthorizes the app). In Mimicr, tokens keep working; revoke them in the console or with the control API.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Responses
200Revoked.
successbooleanrequired
true when the operation succeeded.
401Missing, invalid or revoked access token (190; a revoked token adds error_subcode: 460). A missing token answers 400 with code 104.
errorobjectrequired
Show child attributes
messagestringrequired
Human-readable error message, for WhatsApp errors prefixed with (#code).
typestringrequired
Exception type.
"OAuthException"codeintegerrequired
Error code. See the error codes reference.
error_subcodeinteger
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).
error_user_titlestring
Title meant to be shown to the end user.
error_user_msgstring
Message meant to be shown to the end user.
error_dataobject
Show child attributes
messaging_productstring
Always whatsapp.
detailsstring
Details about the error.
fbtrace_idstringrequired
Trace ID. Include it when you contact support.