# Set receptionist prompt

> Sets the instructions of the AI receptionist on one number. The body is the same as PUT /v2/api/numbers/ /agent/prompt . Requires the PARTNER scope.

`PUT /v2/api/partner/accounts/{id}/numbers/{number}/receptionist/prompt`

<Note>
**Required scope:** `PARTNER`
</Note>

Sets the instructions of the AI receptionist on one number. The request body is the same as [Set prompt](/docs/agent/set-agent-prompt): a list of `sections`, each with a `section` name and its `content`.

```json
{"sections":[{"section":"objective","content":"Answer for Martin Plumbing, take the caller's name, address and the nature of the problem."}]}
```

The response returns the [receptionist](/docs/white-label/get-receptionist) with its configuration after the update. The other errors are those of [Set prompt](/docs/agent/set-agent-prompt).

## Errors

| Code | What it means |
|------|---------------|
| `RECEPTIONIST_NOT_ACTIVE` | The receptionist is not activated on this number (`409`). [Activate it](/docs/white-label/activate-receptionist) first. |
| `PARTNER_ACCOUNT_NOT_FOUND` | No account with this id was created by your API key, or the account is deactivated (`404`). |
| `PHONE_NUMBER_NOT_FOUND` | The number is not on this account (`404`). |
