# Resume staff mailbox consent

Purpose-bound mail authorization operation. Uses explicit provider approval gates and the originating session or dedicated worker credential.

Access class: `workspace`.

## Endpoint

`POST /v1/staff-mail/{provider}/resume`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| provider | path | string | Yes |

## Request body

Content type: `application/json`.

```json
{
  "query": "string"
}
```

## Responses

### 201

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "account_id": "",
    "connected": "string"
  }
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
