API referenceWhatsApp
DELETE /api/v1/whatsapp/accounts/{id}/media/{waMediaId}
Delete the media from WhatsApp
DELETE
BearerAuthheader
AuthorizationBearer <token>API key sk_...
id*stringWhatsApp account id
waMediaId*stringWhatsApp media id
{accountId, mediaId, deleted}
application/json- response
accountId?stringmediaId?stringdeleted?booleancurl -X DELETE 'https://example.com/api/v1/whatsapp/accounts/string/media/string'Example Response
{ "accountId": "string", "mediaId": "string", "deleted": true}GET /api/v1/whatsapp/accounts/{id}/media/{waMediaId} GET
Media info; download=1 streams the bytes instead (Content-Type, Content-Length, Content-Disposition: attachment). Works for inbound attachment ids
GET /api/v1/whatsapp/business-profile GET
Business profile (about, address, description, email, profilePictureUrl, websites, vertical)