Documentation Index
Fetch the complete documentation index at: https://developer.z-api.io/llms.txt
Use this file to discover all available pages before exploring further.
Webhook Response
Response Attributes
All On Send webhook responses contain the following attributes:DeliveryCallbackReturn Examples
Success
When the message is successfully sent, the response does not include theerror field:
Error
When an error occurs during sending, the response includes theerror field with the problem description:
Possible Errors in the error Field
WhatsApp Permissions and Restrictions
Did not have permission to send this message.
Did not have permission to send this message.
Whatsapp rejected sending this message
Whatsapp rejected sending this message
Whatsapp did not allow sending this message
Whatsapp did not allow sending this message
Does not have permission to send the message
Does not have permission to send the message
You can't message this group as you don't have permission
You can't message this group as you don't have permission
This type of message can only be sent in groups
This type of message can only be sent in groups
You must accept buttons message terms in panel to send this message.
You must accept buttons message terms in panel to send this message.
Timeout and Connection
Timeout on send message
Timeout on send message
Error on send message
Error on send message
Invalid Phone Number
Phone number does not exist
Phone number does not exist
Message has not been sent because it got invalid phone number
Message has not been sent because it got invalid phone number
Media and URL
Message not send caused by invalid media url
Message not send caused by invalid media url
Got a 404 error while trying to send message
Got a 404 error while trying to send message
The url informed is not a valid url in the media format, apparently it can be an html
The url informed is not a valid url in the media format, apparently it can be an html
Unsupported sticker format: {content-type}
Unsupported sticker format: {content-type}
Message Editing and Time Limits
Message has not been edited because it has been more than 7 days
Message has not been edited because it has been more than 7 days
Comment message has not been sent because it has more than 7 days
Comment message has not been sent because it has more than 7 days
Products and Catalog
Product message has not been sent because provided product id was not found.
Product message has not been sent because provided product id was not found.
Catalog message has not been sent because the catalog was not found.
Catalog message has not been sent because the catalog was not found.
Product message has not been sent because provided catalog phone must not be a lid.
Product message has not been sent because provided catalog phone must not be a lid.
Orders
Order has not been sent because it received invalid currency code
Order has not been sent because it received invalid currency code
Update order has not been sent because it received invalid request data.
Update order has not been sent because it received invalid request data.
Events and Newsletter
Newsletter poll vote was not sent because of missing identifier.
Newsletter poll vote was not sent because of missing identifier.
Event edit message was not sent because the phone is not from a group.
Event edit message was not sent because the phone is not from a group.
Event edit message was not sent because receive invalid date time.
Event edit message was not sent because receive invalid date time.
Status and Replies
Status reply has not been sent because the status message was not found
Status reply has not been sent because the status message was not found
Forwarding
Message does not forward because it was not found
Message does not forward because it was not found
Conversion and Parameters
Message has not been sent because an error occurred in the conversion
Message has not been sent because an error occurred in the conversion
Message has not been sent because it got invalid request params.
Message has not been sent because it got invalid request params.
Unsupported Message Types in Channels (Newsletters)
ModifyChat not available to channels.
ModifyChat not available to channels.
Call not available to channels.
Call not available to channels.
Call with audio not available to channels.
Call with audio not available to channels.
Document not available to channels.
Document not available to channels.
Button Response not available to channels.
Button Response not available to channels.
Ptv not available to channels.
Ptv not available to channels.
Location message not available to channels.
Location message not available to channels.
Contacts not available to channels.
Contacts not available to channels.
Buttons Actions not available to channels.
Buttons Actions not available to channels.
Buttons not available to channels.
Buttons not available to channels.
Buttons Link not available to channels.
Buttons Link not available to channels.
Options List not available to channels.
Options List not available to channels.
Payment not available to channels.
Payment not available to channels.
Chat Expiration not available to channels.
Chat Expiration not available to channels.
SendPinChatMessage not available to channels.
SendPinChatMessage not available to channels.
Pix button not available to channels.
Pix button not available to channels.
Queue Processing Failure
It was not possible to send message to queue due to request error.
It was not possible to send message to queue due to request error.