# A person approves or declines a hand-off to an AI agent

`POST /contact-centre/conversations/{id}/handoff/decision` · Rivier · inbox

A person approves or declines a hand-off to an AI agent. An agent's own approval is refused.

- Scope: inbox:write
- Graphql: Mutation.inboxContactCentreHandoffDecisionCreate
- Sdk: desk.conversations.decideHandoff
- Cli: desk handoff-decide

## Parameters

- `id` (path, required), string

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "approve": {
      "type": "boolean"
    }
  },
  "required": [
    "approve"
  ],
  "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/contact-centre/conversations/{id}/handoff/decision' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "approve": false
}'
```
