Skip to content

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

NameDescription
urlThe url to which the messages coming from Meta will be sent
hashDetermined 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.