> For the complete documentation index, see [llms.txt](https://docs.tendar.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tendar.co/help-center/integration-and-webhooks.md). Agents can also search and read this documentation through its [MCP server](https://docs.tendar.co/~gitbook/mcp).

# Integration and webhooks

Errors, rate limits and webhook delivery.

### Requests and errors

***

<details>

<summary>Why do I get `401 Missing Authorization header` or `Invalid Authorization header`?</summary>

Send your secret key as `Authorization: Bearer TENDAR_SK|…`, with one space after `Bearer`. See [Authentication](https://docs.tendar.co/documentation/getting-started/authentication.md).

</details>

<details>

<summary>Why do I get `429 limit reached`?</summary>

You've reached a rate limit: 150 requests every 10 seconds from one IP address, or one of your account's limits per minute (600 requests in all, and lower limits for identity lookups, transfers, recollections and verification codes). Wait the number of seconds in the `Retry-After` header, then try again. `X-RateLimit-Scope` tells you which account limit you reached. See [Rate limits](https://docs.tendar.co/documentation/getting-started/authentication.md#rate-limits).

</details>

<details>

<summary>Is it safe to retry a request that failed?</summary>

Retry `5xx` responses and `429` after a short wait. Don't retry a `400` unchanged: fix the request first. See [Error](https://docs.tendar.co/documentation/getting-started/error.md).

</details>

### Webhooks

***

<details>

<summary>I'm not receiving webhooks. What should I check?</summary>

1. Your webhook URL is set in the dashboard and is a public `https` address.
2. Your endpoint responds with a `2xx` within 30 seconds.
3. Your firewall or CDN (for example Cloudflare's bot protection) isn't blocking Tendar's requests.
4. Your signature check isn't rejecting them. See the next question.

Failed deliveries are retried for about 21 hours. See [Retries](https://docs.tendar.co/documentation/getting-started/webhooks.md#retries).

</details>

<details>

<summary>My signature check fails. Why?</summary>

The signature is an HMAC SHA-512 of the raw request body, using your secret key (`TENDAR_SK|…`) as the key. Check that:

* You use your **current** secret key. A new key signs webhooks from the moment you generate it.
* You use the key for the right environment.
* You hash the body exactly as received, before parsing it.

See [Verify the signature](https://docs.tendar.co/documentation/getting-started/webhooks.md#verify-the-signature).

</details>

<details>

<summary>Why did I receive the same webhook twice?</summary>

Retries can deliver an event more than once. Save each `x-tendar-delivery-id` you process and skip the ones you've already seen.

</details>

<details>

<summary>How do I stop Tendar retrying a webhook?</summary>

Respond with `410 Gone`. Tendar stops retrying that delivery.

</details>

### Still need help?

***

Email <support@tendar.co>. See [Contact support](https://docs.tendar.co/help-center/contact-support.md) for what to include.
