S
Samva
S
Samva
DashboardAPISamva DocumentationQuickstart GuideAuthentication

API Reference

Email Management

Conversation Management

Configuration

Create Webhook EndpointGet Webhook EndpointGet Webhook LogsGet Webhook StatsList Webhook EndpointsRegenerate Webhook SecretRemove Webhook EndpointRetry Webhook DeliveryTest Webhook EndpointUpdate Webhook Endpoint

Analytics & Operations

OpenAPI Specification
API ReferenceWebhooks

Update Webhook Endpoint

PATCH
/webhook-endpoints/:id

Authorization

apiKey
X-API-Key<token>

API key for authentication

In: header

Request Body

application/json

id*string
Formatuuid
data*

Response Body

application/json

curl -X PATCH "https://samva.app/api/v1/webhook-endpoints/:id" \  -H "Content-Type: application/json" \  -d '{    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "data": {}  }'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
  "name": "string",
  "slug": "string",
  "description": "string",
  "type": "webhook",
  "config": "string",
  "filters": "string",
  "priority": -2147483648,
  "rateLimit": "string",
  "status": "active",
  "metrics": "string",
  "testMode": true,
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z",
  "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
  "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1"
}

Test Webhook Endpoint

Previous Page

Create API Key

Next Page

curl -X PATCH "https://samva.app/api/v1/webhook-endpoints/:id" \
  -H "Content-Type: application/json" \
  -d '{
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "data": {}
  }'