Get message hook
Returns a single message hook by ID.
Path Parameters
- Type: integerchannel
_id requiredIdentifier of the channel.
- Type: integerhook
_id requiredIdentifier of the message hook.
Responses
- application/json
Request Example for get/channels/{channel_id}/message_hooks/{hook_id}/
curl https://api.landbot.io/v1/channels/1/message_hooks/1/ \
--header 'Authorization: Token YOUR_AGENT_TOKEN'
{
"success": true,
"hook": {
"id": 23,
"url": "https://api.test.com/landbot/",
"token": "1234567890qwerty",
"name": "1234 Hook",
"channel_id": 37,
"created_at": 1606743214.897625,
"updated_at": 1606743896.563929
}
}