Skip to main content
GET
/
api
/
v1
/
webhooks
/
{id}
curl -X GET https://api.jasni.ai/api/v1/webhooks/550e8400-e29b-41d4-a716-446655440000 \
  -H "Authorization: Bearer jsk_your_api_key"
{
  "success": true,
  "data": {
    "webhook": {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "url": "https://your-server.com/webhooks/jasni",
      "events": ["email.received", "email.sent", "email.delivered"],
      "active": true,
      "description": "Production webhook",
      "created_at": "2024-01-15T10:30:00Z",
      "updated_at": "2024-01-15T10:30:00Z"
    }
  }
}

Path Parameters

id
string
required
The unique identifier (UUID) of the webhook

Response

success
boolean
Indicates if the request was successful
data
object
curl -X GET https://api.jasni.ai/api/v1/webhooks/550e8400-e29b-41d4-a716-446655440000 \
  -H "Authorization: Bearer jsk_your_api_key"
{
  "success": true,
  "data": {
    "webhook": {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "url": "https://your-server.com/webhooks/jasni",
      "events": ["email.received", "email.sent", "email.delivered"],
      "active": true,
      "description": "Production webhook",
      "created_at": "2024-01-15T10:30:00Z",
      "updated_at": "2024-01-15T10:30:00Z"
    }
  }
}

Notes

  • The secret field is never returned when getting a webhook (only on creation)
  • You can only retrieve webhooks that belong to your account