Receiving Messages
Authentication
Send this title with every request.
json
{
"Authorization": "Bearer ${token}"
}
🔒 Receiving Messages
To receive messages from your customers, you must follow the steps below.
POST
/api/company/webhook
Body
json
{
"url": "",
"hash": ""
}
Parameter Description
Name | Description |
---|---|
url | The url to which the messages coming from Meta will be sent |
hash | Determined by the client. This is the information that the messages coming from Meta will be sent to the url information with this hash information. This information will come in the Authorization information in the headers when requesting the url. |
Response
json
{
"success": true // <true | false>
}
INFORMATION
If the response is true
, the process is complete.