> ## 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 incoming Amazon SNS webhooks.

> Amazon (SP-API) notifications are commonly delivered via SNS. This endpoint verifies the SNS signature using the signing certificate referenced in the message.

Amazon (SP-API) notifications are commonly delivered via SNS. This endpoint verifies the
SNS signature using the signing certificate referenced in the message.

### Path parameters

**tenant\_id** `string` *required*

Tenant identifier

### Response

`object`

**received** `boolean` *required*

**webhookId** `string (uuid)`

### Status codes

| Code | Meaning |
| - | - |
| `200` | Webhook received |
| `404` | Tenant not found |
| `422` | Invalid request payload or signature |
| `503` | Signature verification unavailable |

```bash cURL theme={null}
curl --request POST \
  --url 'https://api.sync.stateset.com/v1/tenants/{tenant_id}/webhooks/amazon' \
  --header "x-stateset-api-key: $STATESET_SYNC_API_KEY"
```

```json 200 theme={null}
{
  "received": true,
  "webhookId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.