> ## Documentation Index
> Fetch the complete documentation index at: https://sbmg.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Webhook List

<RequestExample>
  ```bash Example Request theme={null}
  curl --location 'https://api.sbmg.app/v1/reporting/webhooks' \
  --header 'x-api-key: YOUR_API_KEY'
  ```
</RequestExample>

## Response

<ResponseField name="data" type="array">
  An array of message log entries containing the following fields

  <Expandable title="Toggle object">
    <ResponseField name="account_id" type="number">
      The account ID associated with the message.
    </ResponseField>

    <ResponseField name="destination_address" type="string">
      The phone number of the message recipient.
    </ResponseField>

    <ResponseField name="direction" type="string">
      The direction of the message (e.g. "OUTBOUND").
    </ResponseField>

    <ResponseField name="content" type="string">
      The content of the message.
    </ResponseField>

    <ResponseField name="date" type="string">
      The timestamp of the message in ISO 8601 format.
    </ResponseField>

    <ResponseField name="user_metadata" type="object">
      Additional metadata associated with the message.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json Response Example theme={null}
  {
    "webhooks": [
      {
        "id": 397,
        "label": "Zapier Trigger",
        "webhook_url": "https://zapier.com/developer/public-invite/186462/8c573cbeab5bcfc1a7f95247506e9d6c/",
        "created": "2023-08-14 17:31:22"
      },
      {
        "id": 1253,
        "label": null,
        "webhook_url": "https://hook.my-sms-callback.net",
        "created": "2024-06-14 09:56:54"
      }
    ]
  }
  ```
</ResponseExample>
