All endpoints
Every endpoint, with what it is for and the scope your key needs. Paths are relative to this base URL:
https://api.wamafy.com/api/v1/publicMessages
Send templates at any time, reply freely inside the 24-hour window, and check what happened to a message.
- POST
/messagesSend a template message. Send an approved template to one person. Works at any time.messages:send - GET
/messages/{messageId}Get message status. Find out whether a message you sent was delivered, read or failed.messages:send - GET
/windowCheck the reply window. Whether you can reply to someone without a template right now.messages:send - POST
/messages/textSend a text message. Reply with plain text inside the 24-hour window.messages:send - POST
/messages/interactiveSend buttons or a list. Reply with up to three buttons, or a list to pick from, inside the window.messages:send - POST
/messages/mediaSend a file. Send an image, document, video or audio file inside the window.messages:send
Templates
The pre-approved messages you send to start a conversation.
Media
Upload files to send as messages or template headers.
Contacts
Keep your customer list in step with your own system. The phone number is the key.
- GET
/contactsList contacts. Search and page through your contacts.contacts:read - GET
/contacts/{phone}Get a contact. Look up one contact by phone number.contacts:read - POST
/contactsCreate or update a contact. Add a contact, or update it if the phone number already exists.contacts:write - PATCH
/contacts/{phone}Update a contact. Change some fields of an existing contact.contacts:write - POST
/contacts/{phone}/opt-outOpt a contact out. Stop marketing messages to a contact.contacts:write - POST
/contacts/{phone}/opt-inOpt a contact in. Record that a contact agreed to hear from you.contacts:write - GET
/contacts/{phone}/messagesList a contact's messages. The conversation with one contact, newest first.messages:read - POST
/contacts/{phone}/trigger-flowStart a chatbot for a contact. Run one of your published chatbots for a contact.flows:trigger
Segments
Saved audiences built in the dashboard, read over the API.
Campaigns
Send one template to many people in a single call, now or later, and follow how it goes.
Payments
Ask for a payment the customer makes inside WhatsApp, and see when it is paid.
Analytics
Message totals for reporting.
Prefer a file? Download the OpenAPI description or the Postman collection.