---
title: "Whether to offer Co-pilot in the composer"
method: GET
path: "/inbox-ai/copilot-offer/"
tags: ["inbox-ai"]
---

# Whether to offer Co-pilot in the composer

`GET /inbox-ai/copilot-offer/`

## Request

- Base URL: `https://api.getoneprofile.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getoneprofile.ai/inbox-ai/copilot-offer/`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

True once somebody has pressed Draft with AI several times in a week while the workspace is still set to draft by hand. The count is shown back to that person, so it counts their own drafts rather than the workspace's.

## Response `200`

Successful Response

- CopilotOfferReadSchema: Whether the composer should offer Co-pilot, and the count that earns it.
  - `offer` boolean, required
  - `recent_draft_count` integer, required: Drafts this user asked for by hand in the last seven days.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `422`: Invalid request made to the API.
- `500`: Internal server error.
- `502`: Bad gateway error.
- `503`: Service unavailable.

---

[API](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile.md) · [All operations](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/llms.txt) · [OpenAPI document](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/revisions/4a6bd71e3f02?raw)
