Skip to main content
GET
/
webhooks
curl --request GET \
  --url 'https://api.autosend.com/v1/webhooks?isActive=true&page=1&limit=50' \
  --header 'Authorization: Bearer AS_your-api-key'
{
  "success": true,
  "data": {
    "webhooks": [
      {
        "id": "60d5ec49f1b2c72d9c8b1234",
        "organizationId": "60d5ec49f1b2c72d9c8b0000",
        "projectId": "60d5ec49f1b2c72d9c8b1111",
        "url": "https://example.com/webhooks/autosend",
        "secret": "***hidden***",
        "events": ["email.delivered", "email.bounced"],
        "isActive": true,
        "createdAt": "2026-06-01T09:00:00.000Z",
        "updatedAt": "2026-06-12T10:15:00.000Z"
      }
    ],
    "total": 1,
    "page": 1,
    "limit": 50,
    "totalPages": 1
  }
}
This endpoint accepts a project API key (AS_ prefix). Secrets are never included in list responses.
curl --request GET \
  --url 'https://api.autosend.com/v1/webhooks?isActive=true&page=1&limit=50' \
  --header 'Authorization: Bearer AS_your-api-key'
{
  "success": true,
  "data": {
    "webhooks": [
      {
        "id": "60d5ec49f1b2c72d9c8b1234",
        "organizationId": "60d5ec49f1b2c72d9c8b0000",
        "projectId": "60d5ec49f1b2c72d9c8b1111",
        "url": "https://example.com/webhooks/autosend",
        "secret": "***hidden***",
        "events": ["email.delivered", "email.bounced"],
        "isActive": true,
        "createdAt": "2026-06-01T09:00:00.000Z",
        "updatedAt": "2026-06-12T10:15:00.000Z"
      }
    ],
    "total": 1,
    "page": 1,
    "limit": 50,
    "totalPages": 1
  }
}

Authorizations

Authorizations
string | header
required
Project API key header of the form Bearer AS_<key>.

Query Parameters

isActive
boolean
Filter webhooks by active state. Omit to return both active and inactive webhooks.Allowed values: true, false
page
integer
Page number for pagination.Default: 1Example: 1
limit
integer
Number of webhooks to return per page.Default: 50Range: 1100

Response

Webhooks retrieved successfully (200)
success
boolean
Indicates if the request was successfulExample: true
data
object
The paginated list of webhooks