/MetaApp/{id}/Webhook
POST
/MetaApp/{id}/Webhook
const url = 'https://api.chatfood.app/MetaApp/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/Webhook';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.chatfood.app/MetaApp/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/Webhook \ --header 'Authorization: Bearer <token>'Authorizations
Seção intitulada “Authorizations”Parameters
Seção intitulada “Parameters”Path Parameters
Seção intitulada “Path Parameters”id
required
string format: uuid
Responses
Seção intitulada “Responses”OK
object
status
integer format: int32
succeeded
boolean
skipped
boolean
callbackUrl
string
fields
Array<string>
subscribedAt
string format: date-time
error
string
object
status
integer format: int32
succeeded
boolean
skipped
boolean
callbackUrl
string
fields
Array<string>
subscribedAt
string format: date-time
error
string
Example
{ "status": 0}object
status
integer format: int32
succeeded
boolean
skipped
boolean
callbackUrl
string
fields
Array<string>
subscribedAt
string format: date-time
error
string
Example
{ "status": 0}