curl --request POST \
--url http://127.0.0.1:3333/v3/integrations/instagram/{workspaceId}/instagram/{credentialsId}/webhook \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"entry": [
{
"id": "<string>",
"time": 123,
"messaging": [
{
"sender": {
"id": "<string>"
},
"timestamp": 123,
"message": {
"mid": "<string>",
"text": "<string>",
"is_echo": true,
"attachments": [
{
"type": "<string>",
"payload": {
"url": "<string>"
}
}
]
}
}
],
"changes": [
{
"field": "<string>",
"value": {
"id": "<string>",
"text": "<string>",
"timestamp": 123,
"from": {
"id": "<string>",
"username": "<string>"
},
"media": {
"id": "<string>"
},
"parent_id": "<string>"
}
}
]
}
]
}
'{
"message": "<string>"
}Receive Instagram Message.
curl --request POST \
--url http://127.0.0.1:3333/v3/integrations/instagram/{workspaceId}/instagram/{credentialsId}/webhook \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"entry": [
{
"id": "<string>",
"time": 123,
"messaging": [
{
"sender": {
"id": "<string>"
},
"timestamp": 123,
"message": {
"mid": "<string>",
"text": "<string>",
"is_echo": true,
"attachments": [
{
"type": "<string>",
"payload": {
"url": "<string>"
}
}
]
}
}
],
"changes": [
{
"field": "<string>",
"value": {
"id": "<string>",
"text": "<string>",
"timestamp": 123,
"from": {
"id": "<string>",
"username": "<string>"
},
"media": {
"id": "<string>"
},
"parent_id": "<string>"
}
}
]
}
]
}
'{
"message": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Default Response