---
title: "Name the contact to read after this one"
method: GET
path: "/sequences/{sequence_id}/agent/training/next/"
tags: ["sequences"]
---

# Name the contact to read after this one

`GET /sequences/{sequence_id}/agent/training/next/`

## 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/sequences/{sequence_id}/agent/training/next/`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

The next contact in the audience's order, after `after`, that nobody has given Looks good or a note, or skipped, in the open run, whose thread holds no words a person pinned (their edit, or a message approved on Tasks), whose thread was not marked Looks good before, and whom the sequence can reach; from the top again when the end is reached. One email marked Looks good on its own from the Builder leaves the contact's other emails to be read. Null when there is nobody left. Writes nothing.

## Path parameters

- `sequence_id` string, uuid, required

## Query parameters

- `after` string, uuid, nullable

## Response `200`

Successful Response

- SequenceTrainingNextSchema: The contact the AI writing tab shows after the one on screen.
  - `label` string, nullable, required: Their name, as the training picker shows it.
  - `record_id` string, uuid, nullable, required: The next contact in the audience's order that nobody has judged in this run, has no words pinned already and can be reached. Null when there is none.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Sequence, audience contact, or session not found
- `409`: Sequence, agent, or training revision changed
- `422`: Invalid selection, feedback, or training action
- `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)
