header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
id
string
required
Example:
123
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://api.mottasl.ai/v1webhook/123'
Responses
🟢200Success
application/json
Body
data
object
required
response
object
required
message
string
required
success
boolean
required
Example
{"data":{"response":{"contact":{"id":1,"is_agent":true,"display_name":"Admin"},"id":517,"name":"BOT | chat_assigned","description":"Chatbot integration Webhook for chat_assigned event","url":"https://test.example.com","event":"chat_assigned","securetoken":"Aa123456","policy":"simple","enabled":true,"created_at":"2024-11-14T11:48:24.043653Z","updated_at":"2024-11-14T11:48:24.043653Z"}},"message":"webhooks for business id: xyz and id: 517 queried successfully","success":true}