# Get Entitlement Agreement PDF

`GET https://api.suger.cloud/org/{orgId}/entitlement/{entitlementId}/pdf`

Returns a presigned S3 URL for the agreement PDF of the given AWS entitlement. The URL is valid for 24 hours. Returns 404 if no agreement PDF has been synced yet.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `orgId` | path | string | yes | Organization ID |
| `entitlementId` | path | string | yes | Entitlement ID |

## Responses

### 200 — Presigned URL

Content-Type: `text/plain`

### 400 — Bad request error

Content-Type: `text/plain`

### 404 — Not found

Content-Type: `text/plain`

### 500 — Internal server error

Content-Type: `text/plain`

## Example

_Generated from this operation's schema. Values are placeholders — substitute your own ids, and set `SUGER_TOKEN` to a bearer token from the [OAuth client-credentials exchange](https://doc.fours.com/settings/oauth-app/)._

### Request

```bash
curl -X GET 'https://api.suger.cloud/org/{orgId}/entitlement/{entitlementId}/pdf' \
  -H "Authorization: Bearer $SUGER_TOKEN"
```

### Response — 200

```json
"string"
```

### Error — 400

```json
"string"
```

---

API reference: https://doc.fours.com/api/
