Azeer API
  1. Webhooks
Azeer API
  • Default module
    • API Authentication
    • APIs
      • Agents
        • Create Agent
        • Update Agent
        • Get Agent Details
      • Contacts
        • Create Contact
        • Create Bulk Contacts
      • Messages
        • Send Message
        • Delete Message
        • Delete Bulk Messages
      • Webhooks
        • Webhooks
        • List all webhooks
          GET
        • Get Webhook Details
          GET
        • Create Webhook
          POST
        • Delete Webhook
          DELETE
      • tags
        • Create Tag
  1. Webhooks

Get Webhook Details

GET
https://api.mottasl.ai/v1webhook/{id}
Last modified:2024-11-25 16:32:15
Get Webhook details by ID

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Request Code 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' \
--header 'Authorization: Bearer <token>'

Responses

🟢200Success
application/json
Body

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
}
🔴500InternelError
🟠400BadRequest
Modified at 2024-11-25 16:32:15
Previous
List all webhooks
Next
Create Webhook
Built with