# POST /botmail/keys/{id}/webhook/resume

First published 22 Oct 2026 (release 0.2.15) · Unchanged since publication

UrbeStack release 0.2.35 API operation in the mail group.

Resume a bot key's paused webhook

- Who may call it: administrator, reseller, customer
- Token scope, any of: mail, all
- Answers: 200 OK

BotMail pauses a webhook after seven failed delivery attempts. The key must have a paused webhook. The response returns the updated configuration in webhook. If the key can log in, notifications resume with the next new message. Events recorded during the pause remain in the event history, and BotMail does not deliver them after the webhook resumes.

Administrators can access any key. Customers can access their own keys, and resellers can access their own keys and those of the customers they manage. A missing or inaccessible key returns 404.

## As a command

- [urbestack-botmail-webhook-resume](https://urbestack.com/docs/commands/urbestack-botmail-webhook-resume.md): Resumes a bot key's webhook after BotMail paused it following seven failed delivery attempts.

## Parameters

- `id` (path, integer, 1 or more, required)

## Example

Set $API to the base URL and $TOKEN to the token, as the [API overview](https://urbestack.com/docs/api.md) shows.

```
curl -sS -X POST "$API/botmail/keys/1/webhook/resume" \
  -H "Authorization: Bearer $TOKEN"
```

Response, 200 OK:

```
{
  "webhook": {
    "created_at": "2026-09-09T10:15:00Z",
    "dead_why": "text",
    "has_bearer": true,
    "id": 1,
    "key_id": 1,
    "live": true,
    "paused": true,
    "paused_at": "text",
    "paused_reason": "text",
    "updated_at": "text",
    "url": "text"
  }
}
```

## Errors

- 400: --key is required
- 400: Domain name required
- 400: Domain name too long
- 400: Invalid IPv4 address
- 400: Invalid IPv6 address
- 400: Invalid domain name
- 400: Invalid id
- 400: Invalid port
- 400: Invalid setting key
- 400: Invalid username: 2 to 32 lowercase letters, digits or underscores, starting with a letter
- 400: Username '<value>' is reserved
- 401: Authentication required
- 404: No such bot connector: <c.params>{id}
- 404: No such bot connector: <id>
- 404: No such domain: <domain>
- 404: Setting '<key>' not found
- 404: The bot connector <k.name> has no webhook
- 409: The webhook is not paused
