Facebook
LinkedIn
YouTube
Getting Started
Authentication
Authentication
  • V2 Authentication (Deprecated)
  • V3 Authentication
V2 API Documentation (Deprecated)V3 API Documentation
Getting Started
Authentication
Authentication
  • V2 Authentication (Deprecated)
  • V3 Authentication
V2 API Documentation (Deprecated)V3 API Documentation
  1. Webhooks
  • Platform
    • Users
      • List Users
      • Get User Details
      • Update User
      • Partial Update User
      • Delete User
      • Create User
    • Groups
      • List Child Groups
      • Get Group Tree
      • Get Group Details
      • List Groups
      • Get Org Unit Hierarchy
      • Update Group
      • Partial Update Group
      • Delete Group
      • Create Group
    • Webhooks
      • List Webhooks
        GET
      • Get Webhook Details
        GET
      • Update Webhook
        PUT
      • Partial Update Webhook
        PATCH
      • Delete Webhook
        DELETE
      • Create Webhook
        POST
    • Media Prompts
      • List Prompts
      • Upload Prompt
      • Delete Prompt
  • AI Voice Agents
    • List AI Voice Agents
      GET
    • Create Agent
      POST
    • Get Agent Details
      GET
    • Update Agent
      PUT
    • Partial Update Agent
      PATCH
    • Delete Agent
      DELETE
  • Phone Numbers
    • Assigned Numbers
      GET
    • Provisioned Numbers
      GET
    • Reserved Numbers
      DELETE
    • Phone Numbers
      POST
    • Available Numbers
      GET
  • Provisioned Routes
    • List Provisioned Routes
      GET
    • Create Provisioned Route
      POST
    • Get Provisioned Route Details
      GET
    • Delete Provisioned Route
      DELETE
    • Update Provisioned Route
      PUT
    • Partial Update Provisioned Route
      PATCH
  • SMS Broadcasts
    • List Broadcasts
    • Create Broadcast
    • Get Broadcast Details
    • Update Broadcast
    • Partial Update Broadcast
    • Delete Broadcast
  • Conversation
    • Calls
      • Get Calls List
      • Get Call By ID
    • SMS
      • Get SMS Conversations
  • Miscellaneous
    • List Ad Sources
    • List Industries
    • List Tags
    • Create Tag
    • Update Tag
    • Delete Tag
  1. Webhooks

Create Webhook

POST
https://platform-api.convirza.com/v3/webhooks
Webhooks
Last modified:2026-04-03 14:27:57
Creates a new outbound webhook that will deliver event notifications to a target URL whenever specified call or SMS events occur in your account.
⚠️ DEPRECATION NOTICE
PascalCase field names (webhook_Name, webhook_Endpoint, include_Data_Append, include_DNI_Logs, include_Indicator_Scores, include_IVR_Keypresses, static_Parameter) are DEPRECATED.
Please use snake_case field names (webhook_name, webhook_endpoint, include_data_append, include_dni_logs, include_indicator_scores, include_ivr_keypresses, static_parameters) instead.
Both formats are currently supported for backwards compatibility, but PascalCase fields will be removed in v4 API.
How webhooks work
When a configured event fires (e.g. a call ends, an SMS is received), the platform sends an HTTP POST request to your endpoint_url with a JSON payload describing the event. Your server should respond with HTTP 200 within 10 seconds.
Required fields
webhook_name (or deprecated webhook_Name) — name for the webhook
webhook_endpoint (or deprecated webhook_Endpoint) — the HTTPS URL that will receive the event payload
format — response format (JSON, XML, XML_CQM, FORM_DATA)
method — HTTP method (GET, POST, PUT, PATCH)
Optional configuration
description — webhook description
include_data_append — include data append in payload
include_dni_logs — include DNI logs in payload
include_indicator_scores — include indicator scores in payload
include_ivr_keypresses — include IVR keypresses in payload
webhook_status — webhook status (active, inactive, deleted)
static_parameters — array of static parameters with field_name and field_value
Behavior
Webhooks are activated immediately after creation.
created_at and created_by (authenticated user ID) are recorded automatically.
Response
Returns the new webhook ID and a success flag.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Body Params application/jsonRequired

Examples

Responses

🟢201
application/json
Webhook created successfully
Body

🟠400
🟠401
🔴500
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://platform-api.convirza.com/v3/webhooks' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "webhook_name": "Lead Webhook",
    "webhook_endpoint": "https://example.com/webhook",
    "description": "Sends lead data to CRM system",
    "format": "JSON",
    "method": "GET",
    "include_data_append": true,
    "include_dni_logs": false,
    "include_indicator_scores": true,
    "include_ivr_keypresses": false,
    "webhook_status": "active",
    "static_parameters": [
        {
            "field_name": "api_key",
            "field_value": "sk_live_1234567890",
            "field_Name": "api_key",
            "field_Value": "sk_live_1234567890"
        }
    ],
    "webhook_Name": "Lead Notification Webhook",
    "webhook_Endpoint": "https://api.example.com/webhooks/leads",
    "include_Data_Append": false,
    "include_DNI_Logs": false,
    "include_Indicator_Scores": false,
    "include_IVR_Keypresses": false,
    "static_Parameter": [
        {
            "field_name": "api_key",
            "field_value": "sk_live_1234567890",
            "field_Name": "api_key",
            "field_Value": "your-api-key-here"
        }
    ]
}'
Response Response Example
201 - Example 1
{
    "code": 200,
    "message": "Success",
    "data": {
        "webhookId": 125
    },
    "request_id": "550e8400-e29b-41d4-a716-446655440000",
    "timestamp": "2026-01-20T12:34:56.789Z"
}
Modified at 2026-04-03 14:27:57
Previous
Delete Webhook
Next
List Prompts
Built with