# CallbackEndpointTestResult

## Fields

| Field | Type | Always present | Description |
|---|---|---|---|
| `delivered` | boolean | no | True when your endpoint answered with a 2xx status. Status 200 only. |
| `duration_ms` | integer \| null | no | How long the attempt took, in milliseconds. Status 200 only. |
| `error_class` | string \| null | no | Why the attempt failed. Status 200 only. One of: `timeout`, `connect`, `tls`, `dns`, `blocked_address`, `redirect`, `http`, `too_large`. |
| `http_status` | integer \| null | no | The HTTP status your endpoint returned. Null when it did not answer. Status 200 only. |
| `id` | string | yes | Delivery ID of the test send: dlv_ and 24 hex digits. Look it up in the delivery log. |
| `state` | string | yes | With status 200: delivered, failed, or dropped. A test send gets one attempt, so this is final. One of: `pending`, `delivering`, `held`, `delivered`, `failed`, `dropped`. [More](#state) |

## Field notes

### `state`

With status 202: pending, delivering, or held after 12 seconds. The send still happens; see the delivery log for the outcome.

## Used by

- Returned by [`POST /v3/callbacks/endpoints/{id}/test`](https://www.secblast.com/docs/reference/post-callbacks-endpoints-id-test).
