API referenceWhatsApp
DELETE /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 /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 /accounts/{id}/tiktok/creator-info GET
TikTok creator_info, required before each post by TikTok's Content Sharing Guidelines: nickname, privacy levels the creator allows now (allowedNow false while the app is unaudited), interaction toggles, max video duration, commercial content options. Errors when TikTok says the creator cannot post right now (e.g. spam_risk_too_many_posts → 429)