# Add prospects to a sequence

`POST /crm/sequences/{id}/enroll` · Rivier · campaigns

Add prospects to a sequence. Anyone who is suppressed, erased, without an address for the first step, or without a recorded basis for being written to is skipped, with the reason.

- Scope: campaigns:write
- Graphql: Mutation.campaignsSequenceEnroll
- Sdk: campaigns.sequence.enroll
- Cli: campaigns sequence enroll

## Parameters

- `id` (path, required), string

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "contactIds": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      },
      "minItems": 1,
      "maxItems": 500
    }
  },
  "required": [
    "contactIds"
  ],
  "additionalProperties": false
}
```

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/crm/sequences/{id}/enroll' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "contactIds": [
    "string"
  ]
}'
```
