Outvexa

API reference

Webhooks

6 endpoints. All paths are relative to your installation, for example https://app.example.com.

get/api/v1/w/{workspaceId}/webhooks

Outbound webhooks

Workspace member or API keyRole admin or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
Request
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/webhooks" \
  -H "Authorization: Bearer $EMN_API_KEY"

post/api/v1/w/{workspaceId}/webhooks

Create a webhook (signing secret shown once)

Workspace member or API keyRole admin or higherSuccess: 201

Path parameters

workspaceIdrequiredstring

Request body (JSON)

namerequiredstringLength 1–100
urlrequiredstring (uri)
eventsrequiredenum[]
isEnabledbooleanDefault true
Request
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/webhooks" \
  -H "Authorization: Bearer $EMN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "string",
    "url": "https://example.com",
    "events": [
      "reply.categorized"
    ],
    "isEnabled": true
  }'

put/api/v1/w/{workspaceId}/webhooks/{id}

Update a webhook

Workspace member or API keyRole admin or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
idrequiredstring

Request body (JSON)

namerequiredstringLength 1–100
urlrequiredstring (uri)
eventsrequiredenum[]
isEnabledbooleanDefault true
Request
curl -X PUT "https://app.example.com/api/v1/w/$WORKSPACE_ID/webhooks/$ID" \
  -H "Authorization: Bearer $EMN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "string",
    "url": "https://example.com",
    "events": [
      "reply.categorized"
    ],
    "isEnabled": true
  }'

delete/api/v1/w/{workspaceId}/webhooks/{id}

Delete a webhook

Workspace member or API keyRole admin or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
idrequiredstring
Request
curl -X DELETE "https://app.example.com/api/v1/w/$WORKSPACE_ID/webhooks/$ID" \
  -H "Authorization: Bearer $EMN_API_KEY"

post/api/v1/w/{workspaceId}/webhooks/{id}/test

Send a test delivery

Workspace member or API keyRole admin or higherSuccess: 202

Path parameters

workspaceIdrequiredstring
idrequiredstring
Request
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/webhooks/$ID/test" \
  -H "Authorization: Bearer $EMN_API_KEY"

get/api/v1/w/{workspaceId}/webhooks/{id}/deliveries

Recent deliveries

Workspace member or API keyRole admin or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
idrequiredstring
Request
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/webhooks/$ID/deliveries" \
  -H "Authorization: Bearer $EMN_API_KEY"