Accept a representation
Identity module
POST/representations/{id}/acceptrepresentations.accept
Accepts the representation as the represented artist. Requires `Idempotency-Key`; a replay returns the original response. A rule that refuses the request returns 422 with `refusal` and `reason`.
- Requires the capability me.profile.write.
- OAuth scopes: me.
- Send an Idempotency-Key header. A replay with the same key returns the original response.
- Error statuses: 400, 401, 404, 409, 422, 429. Errors are RFC 9457 problem details.
Path and query parameters
| Field | Type | Required | Description |
|---|---|---|---|
| id | string (uuid) | Yes | Identifier of the representation. |
Response 200: Representation
| Field | Type | Required | Description |
|---|---|---|---|
| id | string (uuid) | Yes | Identifier of the representation. |
| created_at | string (date-time) | Yes | When the row was created. |
| updated_at | string (date-time) | Yes | When the row was last updated. |
| representative_person_id | string (uuid) | null | Yes | Identifier of the representative. |
| artist_person_id | string (uuid) | Yes | Identifier of the represented artist. |
| scopes | array of RepresentationScope | Yes | Delegated scopes, stored as junction rows. |
| expires_on | string (date) | Yes | Expiry. |
| accepted_at | string (date-time) | null | Yes | When the artist accepted. |
| revoked_at | string (date-time) | null | Yes | When the artist or the account revoked it. |
{
"id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
"created_at": "2026-10-08T14:30:00Z",
"updated_at": "2026-10-08T14:30:00Z",
"representative_person_id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
"artist_person_id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
"scopes": [
"Offers",
"Advance"
],
"expires_on": "2026-10-08",
"accepted_at": "2026-10-08T14:30:00Z",
"revoked_at": "2026-10-08T14:30:00Z"
}Code samples
curl -X POST "$XOS_BASE_URL/representations/0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f/accept" \
-H "Authorization: Bearer $XOS_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"const { data } = await xos.representations.accept("0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f");response = xos.representations.accept("0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f")xos representations accept 0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f