---
updatedAt: 2025-02-27T21:04:36.000Z
agentTools:
  projectIndex: https://developers.atlas.so/llms.txt
---

# List all the the webhook and their subscriptions

Lists all the webhook and their subscriptions

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Atlas API",
    "description": "Atlas API Documentation",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://api.atlas.so"
    }
  ],
  "paths": {
    "/v1/webhooks": {
      "get": {
        "tags": [
          "Webhooks"
        ],
        "summary": "List all the the webhook and their subscriptions",
        "description": "Lists all the webhook and their subscriptions",
        "operationId": "list_webhooks_v1_webhooks_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 0,
              "title": "Cursor"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 20,
              "title": "Limit"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExternalApiListResponse_ExternalWebhookResponseSchema_"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ExternalApiListResponse_ExternalWebhookResponseSchema_": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ExternalWebhookResponseSchema"
            },
            "type": "array",
            "title": "Data"
          },
          "total": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Total"
          },
          "cursor": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cursor"
          },
          "limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Limit"
          }
        },
        "type": "object",
        "required": [
          "data"
        ],
        "title": "ExternalApiListResponse[ExternalWebhookResponseSchema]"
      },
      "ExternalReadWebhookSubscriptionSchema": {
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "title": "Id"
          },
          "companyId": {
            "type": "string",
            "format": "uuid",
            "title": "Companyid"
          },
          "event": {
            "$ref": "#/components/schemas/WebhookEvent"
          },
          "endpoint": {
            "type": "string",
            "maxLength": 65536,
            "minLength": 1,
            "format": "uri",
            "title": "Endpoint",
            "examples": [
              "http://www.example.com/"
            ]
          },
          "endpointKey": {
            "type": "string",
            "title": "Endpointkey"
          },
          "status": {
            "$ref": "#/components/schemas/WebhookSubscriptionStatus"
          },
          "signingSecret": {
            "type": "string",
            "title": "Signingsecret"
          }
        },
        "type": "object",
        "required": [
          "id",
          "companyId",
          "event",
          "endpoint",
          "endpointKey",
          "status",
          "signingSecret"
        ],
        "title": "ExternalReadWebhookSubscriptionSchema"
      },
      "ExternalWebhookResponseSchema": {
        "properties": {
          "webhook": {
            "$ref": "#/components/schemas/ReadWebhookSchema"
          },
          "subscription": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ExternalReadWebhookSubscriptionSchema"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object",
        "required": [
          "webhook"
        ],
        "title": "ExternalWebhookResponseSchema"
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "ReadWebhookSchema": {
        "properties": {
          "event": {
            "$ref": "#/components/schemas/WebhookEvent"
          },
          "category": {
            "$ref": "#/components/schemas/WebhookServiceCategory"
          },
          "displayName": {
            "type": "string",
            "title": "Displayname"
          },
          "description": {
            "type": "string",
            "title": "Description",
            "default": ""
          }
        },
        "type": "object",
        "required": [
          "event",
          "category",
          "displayName"
        ],
        "title": "ReadWebhookSchema"
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      },
      "WebhookEvent": {
        "type": "string",
        "enum": [
          "account.created",
          "account.updated",
          "account.customer.linked",
          "account.customer.unlinked",
          "conversation.created",
          "conversation.agent",
          "conversation.tags",
          "conversation.custom_fields",
          "conversation.status",
          "conversation.priority",
          "conversation.message",
          "conversation.message.deprecated",
          "customer.identify",
          "customer.created",
          "customer.updated",
          "customer.custom_fields",
          "customer.notes",
          "customer.notes.deleted",
          "session.finished",
          "sidebar.sent",
          "sidebar.received"
        ],
        "title": "WebhookEvent"
      },
      "WebhookServiceCategory": {
        "type": "string",
        "enum": [
          "CONVERSATION",
          "ACCOUNT",
          "CUSTOMER",
          "NOTES",
          "SESSION"
        ],
        "title": "WebhookServiceCategory"
      },
      "WebhookSubscriptionStatus": {
        "type": "string",
        "enum": [
          "ACTIVE",
          "INACTIVE"
        ],
        "title": "WebhookSubscriptionStatus"
      }
    },
    "securitySchemes": {
      "HTTPBearer": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  }
}
```