---
title: "Get team delivery attempt"
canonical: "https://docs.polymorfa.com/api/webhook-deliveries/get-team-delivery-attempt"
---
# Get team delivery attempt


`GET https://api.polymorfa.com/platform/webhook-deliveries/{deliveryId}/attempts/{attemptId}` (Platform API)

Required permission: `webhook-deliveries:read`

Returns one immutable network attempt.

Team keys require `webhook-deliveries:read`. Project tokens are not accepted.

## Path parameters

- `deliveryId` (string (uuid), required, format uuid). Identifier for the delivery.
- `attemptId` (string (uuid), required, format uuid). Identifier for the attempt.

## Request

```bash
curl "https://api.polymorfa.com/platform/webhook-deliveries/<deliveryId>/attempts/<attemptId>" \
  -H "Authorization: Bearer <POLYMORFA_API_KEY>" \
  -H "Polymorfa-Version: 2026-09-22"
```

## Responses

### 200

Success
- `data` (object, required). Structured data carried by this object.
  - `id` (string (uuid), required, format uuid). Identifier for this resource.
  - `teamId` (string (uuid), required, format uuid). Identifier for the team.
  - `projectId` (string, required, nullable). Identifier of the Polymorfa project that owns this resource.
  - `deliveryId` (string (uuid), required, format uuid). Identifier for the delivery.
  - `number` (integer, required, min 1). Specifies number for this management team webhook delivery attempt.
  - `status` (string, required). Current status of this resource or operation. Values: `pending`, `delivering`, `succeeded`, `failed`.
  - `startedAt` (string (date-time), required, nullable, format date-time). Timestamp for started at.
  - `completedAt` (string (date-time), required, nullable, format date-time). ISO 8601 timestamp when this operation completed.
  - `nextRetryAt` (string (date-time), required, nullable, format date-time). Timestamp for next retry at.
  - `durationMs` (integer, required, nullable, min 0). Specifies duration ms for this management team webhook delivery attempt.
  - `statusCode` (integer, required, nullable, range 100–599). Machine-readable status code for this management team webhook delivery attempt.
  - `errorCode` (string, required, nullable). Machine-readable error code for this management team webhook delivery attempt.
  - `response` (object, required, nullable). A redacted excerpt from a failed HTTP response. Successful responses and network errors do not include a response body.
    - `contentType` (string, required, length 1–128, Media type: IANA `type/subtype` value matching the payload, such as `image/jpeg`, `video/mp4`, `audio/ogg`, or `application/pdf`). IANA media type that matches the payload.
    - `excerpt` (string, required, UTF-8 size: At most `8192` UTF-8 bytes). Redacted response text, limited to 8192 UTF-8 bytes.
    - `truncated` (boolean, required). Whether truncated.
  - `metadataExpiresAt` (string (date-time), required, format date-time). Timestamp for metadata expires at.

Headers:

- `X-Request-Id` (string). Stable request correlation identifier.
- `X-Trace-Id` (string, pattern ^[0-9a-f]{32}$). W3C trace ID of this request. Your `traceparent` trace ID when you sent a valid one.
- `Polymorfa-Version` (string). API version applied to this response.

```json
{
  "data": {
    "id": "00000000-0000-4000-8000-000000000000",
    "teamId": "00000000-0000-4000-8000-000000000000",
    "projectId": null,
    "deliveryId": "00000000-0000-4000-8000-000000000000",
    "number": 1,
    "status": "pending",
    "startedAt": "2026-09-22T12:00:00Z",
    "completedAt": "2026-09-22T12:00:00Z",
    "nextRetryAt": "2026-09-22T12:00:00Z",
    "durationMs": 0,
    "statusCode": 100,
    "errorCode": "string",
    "response": {
      "contentType": "string",
      "excerpt": "string",
      "truncated": true
    },
    "metadataExpiresAt": "2026-09-22T12:00:00Z"
  }
}
```

### 400

A path, query, or request-body value did not pass validation.
- `error` (object, required). Error details returned when the operation fails.
  - `type` (string, required). Type discriminator for this object. Values: `invalid_request_error`, `authentication_error`, `permission_error`, `billing_error`, `conflict_error`, `rate_limit_error`, `api_error`, `upstream_error`.
  - `code` (string, required). Stable failure code. Use this value for programmatic handling.
  - `message` (string, required). Safe explanation of the failure.
  - `param` (string, required, nullable). Invalid request field, or null when no field applies.
  - `request_id` (string, required). Matches the X-Request-Id response header. Include it when you contact support.
  - `request_log_url` (string (uri), format uri). Console page that shows this request. Returned only to team and project credentials whose request was logged.
- `data` (string, required, nullable). Always null for a failed request.
- `docs` (string (uri), required, format uri). Documentation link to this failure code.

Headers:

- `X-Request-Id`, `X-Trace-Id`, `Polymorfa-Version`: described under 200.

```json
{
  "error": {
    "type": "invalid_request_error",
    "code": "invalid_parameter",
    "message": "Correct the invalid request field.",
    "param": null,
    "request_id": "5f0c2a8e-3b1d-4c6f-9e2a-7d4b1c8f6a30"
  },
  "data": null,
  "docs": "https://docs.polymorfa.com/api/errors#invalid-parameter"
}
```

### 401

Missing/invalid credential for this audience.
Same fields as 400.

Headers:

- `X-Request-Id`, `X-Trace-Id`, `Polymorfa-Version`: described under 200.

```json
{
  "error": {
    "type": "authentication_error",
    "code": "invalid_credential",
    "message": "Supply a valid credential.",
    "param": null,
    "request_id": "5f0c2a8e-3b1d-4c6f-9e2a-7d4b1c8f6a30"
  },
  "data": null,
  "docs": "https://docs.polymorfa.com/api/errors#invalid-credential"
}
```

### 403

Authenticated but lacks the required scope/role/audience.
Same fields as 400.

Headers:

- `X-Request-Id`, `X-Trace-Id`, `Polymorfa-Version`: described under 200.

```json
{
  "error": {
    "type": "permission_error",
    "code": "permission_denied",
    "message": "The credential does not have access to this resource.",
    "param": null,
    "request_id": "5f0c2a8e-3b1d-4c6f-9e2a-7d4b1c8f6a30"
  },
  "data": null,
  "docs": "https://docs.polymorfa.com/api/errors#permission-denied"
}
```

### 404

The requested resource was not found inside the authenticated team or project scope.
Same fields as 400.

Headers:

- `X-Request-Id`, `X-Trace-Id`, `Polymorfa-Version`: described under 200.

```json
{
  "error": {
    "type": "invalid_request_error",
    "code": "resource_not_found",
    "message": "The resource is unavailable to this caller.",
    "param": null,
    "request_id": "5f0c2a8e-3b1d-4c6f-9e2a-7d4b1c8f6a30"
  },
  "data": null,
  "docs": "https://docs.polymorfa.com/api/errors#resource-not-found"
}
```
