List message hooks
Lists all message hooks configured on the given channel.
Path Parameters
- Type: integerchannel
_id requiredIdentifier of the channel.
Responses
- application/json
Request Example for get/channels/{channel_id}/message_hooks/
curl https://api.landbot.io/v1/channels/1/message_hooks/ \
--header 'Authorization: Token YOUR_AGENT_TOKEN'
{
"success": true,
"hooks": [
{
"id": 23,
"url": "https://api.test.com/landbot/",
"token": "1234567890qwerty",
"name": "1234 Hook",
"channel_id": 37,
"created_at": 1606743214.897625,
"updated_at": 1606743896.563929
}
]
}