# Contacts submission bulk

`POST /crm/submissions/bulk` · Rivier · contacts

Accept or reject many held submissions at once (up to a hundred), optionally allowing or blocking each sender. Each result is reported; one failure does not stop the rest.

- Scope: contacts:admin
- Sdk: contacts.submission.bulk
- Cli: contacts submission bulk

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "ids": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      },
      "minItems": 1,
      "maxItems": 100
    },
    "action": {
      "type": "string",
      "enum": [
        "accept",
        "reject"
      ]
    },
    "allowSender": {
      "type": "boolean"
    },
    "blockSender": {
      "type": "boolean"
    }
  },
  "required": [
    "ids",
    "action"
  ],
  "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/submissions/bulk' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "ids": [
    "string"
  ],
  "action": "accept"
}'
```
