# testWebhookEndpoint

> Part of the MAP Audio Music API docs. Index of every page: https://map.audio/developers/music-api/llms.txt. OpenAPI document: https://map.audio/developers/music-api/openapi.json.

`POST https://api.map.audio/v1/webhook-endpoints/{id}/test`

Send a test event

Queue a signed `webhook.test` event to the endpoint, to check that your server receives deliveries and verifies their signatures. Free.

Auth: `Authorization: Bearer` with an API key or a map.audio access token. Not an MCP tool: Webhook endpoints hold signing secrets for your own server; set them up with an API key (POST /v1/webhook-endpoints) or with the account holder's map.audio sign-in.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | A webhook endpoint id (whep_…), from GET /v1/webhook-endpoints. Matches `^whep_[0-9A-HJKMNP-TV-Z]{26}$`. |

## Example

```sh
curl -sS -X POST "https://api.map.audio/v1/webhook-endpoints/whep_01M6BPRWZCT8J4PSWZ8KG7EXWV/test" \
  -H "Authorization: Bearer $MAP_API_KEY" \
  -H "Map-Version: 2026-11-01"
```

### 202: Queued

```json
{
  "id": "evt_01M6BPRYMG75T6HXQ8E61EARAX",
  "type": "webhook.test",
  "createdAt": "2026-11-01T14:15:09.664Z",
  "apiVersion": "2026-11-01",
  "data": {
    "object": {
      "endpoint": "whep_01M6BPRWZCT8J4PSWZ8KG7EXWV"
    }
  }
}
```

### 409: Webhook endpoint disabled

```json
{
  "error": {
    "type": "conflict",
    "code": "endpoint_disabled",
    "message": "This endpoint is disabled, after repeated failed deliveries or because the key that set its secret was revoked; rotate its secret (POST /v1/webhook-endpoints/{id}/rotate-secret) to enable it again.",
    "param": null,
    "retryable": false,
    "jobId": null,
    "docUrl": "https://map.audio/developers/music-api/errors#endpoint_disabled",
    "requestId": "9a3f7c2e5b1d8f40-LHR"
  }
}
```

## Responses

- `202`: The queued event.
- `409`: Webhook endpoint disabled
- `default`: Any other error: `error.code` names it, `error.param` the field at fault, and `error.docUrl` its entry in the error catalogue.

## Errors

- [`not_found`](https://map.audio/developers/music-api/errors#not_found)
- [`endpoint_disabled`](https://map.audio/developers/music-api/errors#endpoint_disabled)
- [`idempotency_key_unsupported`](https://map.audio/developers/music-api/errors#idempotency_key_unsupported)
- [`invalid_request`](https://map.audio/developers/music-api/errors#invalid_request)
