Post text status
Without contacts, the status goes to ALL of the number's contacts. To test, send contacts with a number of your own.
X-Api-Key: wpf_YOUR_KEYThe connection's API key (wpf_...), generated in the dashboard.
Authorization: Bearer wpf_YOUR_KEYThe same key in Authorization: Bearer wpf_... (what n8n, Make and HTTP libraries support out of the box).
Idempotency-Key?stringOptional. Repeating the same value within 24 h, with the same API key, returns the first response without sending again. See Idempotency in the introduction.
application/json- body
text*stringThe status text (up to 700 characters).
1 <= length <= 700background_color?stringOptional: the background color in hex (#38b42f).
^#[0-9a-fA-F]{6}$font?integerOptional: the font style, a WhatsApp number (0 to 10).
0 <= value <= 10contacts?array<string>Optional: who sees the status (phone numbers or chatIds, up to 256), checked like the send to. Without contacts, the status goes to ALL of the number's contacts.
1 <= items <= 256Posted. Keep the status_id and the contacts to delete it.
application/json- response
data*curl -X POST 'https://app.wappfy.io/api/v1/status/text' \ -H 'X-Api-Key: wpf_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{ "text": "Promoção só hoje!", "background_color": "#38b42f", "contacts": [ "5581999999999" ]}'{ "data": { "status_id": "string", "contacts": [ "string" ] }}
