> ## Documentation Index
> Fetch the complete documentation index at: https://docs.motioness.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get full delivery detail (with payload + response body preview)

` GET /api/projects/{id}/webhooks/deliveries/{deliveryId} `

Get full delivery detail (with payload + response body preview)

## Servers

- ` https://motioness.com ` — Production

## Authentication

The operation accepts these alternatives. Schemes within one alternative are required together.

### Alternative 1

- ` sessionCookie `: ` apiKey `

  - Credential: ` better-auth.session_token ` in ` cookie `

  - Session cookie set by /api/user/signin, /api/user/signup, or the OAuth callback. Required for all authenticated endpoints.

## Parameters

### ` id ` (path, required)

- ` value `: type ` string `

  - example: ` "abc123" `

  - minLength: ` 1 `

Example:

```json
"abc123"
```

### ` deliveryId ` (path, required)

- ` value `: type ` string `

  - minLength: ` 1 `

## Responses

### ` 200 ` — Delivery detail

Content type: ` application/json `

- ` value `: type ` unknown `

  - ` allOf constraint 1 `: type ` object `

    - Required fields: ` id `, ` event_id `, ` event_type `, ` asset_id `, ` attempt `, ` status `, ` response_code `, ` next_attempt_ts `, ` created_at `, ` delivered_at `

    - ` id `: type ` string `

    - ` event_id `: type ` string `

    - ` event_type `: type ` string `

    - ` asset_id `: type ` string `; nullable

    - ` attempt `: type ` number `

    - ` status `: type ` string `

    - ` response_code `: type ` number `; nullable

    - ` next_attempt_ts `: type ` number `; nullable

    - ` created_at `: type ` number `

    - ` delivered_at `: type ` number `; nullable

  - ` allOf constraint 2 `: type ` object `

    - Required fields: ` response_body_preview `, ` payload_json `

    - ` response_body_preview `: type ` string `; nullable

    - ` payload_json `: type ` string `; nullable

### ` 401 ` — Unauthorized

Content type: ` application/json `

- ` value `: type ` object `

  - Required fields: ` error `

  - ` error `: type ` string `

### ` 404 ` — Not found

Content type: ` application/json `

- ` value `: type ` object `

  - Required fields: ` error `

  - ` error `: type ` string `

## Request examples

### cURL

```curl
curl -X GET 'https://motioness.com/api/projects/abc123/webhooks/deliveries/string'
```

### JavaScript

```javascript
const response = await fetch('https://motioness.com/api/projects/abc123/webhooks/deliveries/string', {
  method: 'GET'
});

const data = await response.json();
console.log(data);
```

### Python

```python
import requests

response = requests.get('https://motioness.com/api/projects/abc123/webhooks/deliveries/string')
print(response.json())
```