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

# Handle Webhook

> StateSet Voice API operation.

StateSet Voice API operation.

### Request body

JSON body of type `string`.

### Response

`object`

<ResponseField name="received" type="boolean" required />

### Status codes

| Code  | Meaning                                                             |
| ----- | ------------------------------------------------------------------- |
| `200` | Webhook received and processed (redeliveries re-apply idempotently) |
| `400` | Invalid Stripe signature or malformed payload                       |

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url 'https://api.voice.stateset.com/api/v1/stripe/webhook' \
    --header "Authorization: Bearer $STATESET_VOICE_API_KEY" \
    --header 'Content-Type: application/json' \
    --data '"string"'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "received": true
  }
  ```
</ResponseExample>
