# Resend inbox support address test

Resend a verification email for a pending inbox support address.

POST https://api.brigg.app/v1/operations/support.ResendInboxSupportAddressTest

## Access & visibility

Allow `support.ResendInboxSupportAddressTest` on your API key.

**Workspace access by default.** Private member data requires [approved member delegation](https://developer.brigg.app/authentication#member-delegation) through `Brigg-Act-As`; the key supplies permissions while private ownership and project boundaries remain enforced.

[Set up authentication](https://developer.brigg.app/authentication) · [Choose permissions](https://developer.brigg.app/permissions)

## Request fields

Send a JSON object with the following fields. Required fields must be included; omit optional fields you do not need.
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `inbox_id` | string | Yes | Use the support inbox record's top-level id, not its slug or forwarding address. [support.ListInboxes](https://developer.brigg.app/reference/support/ListInboxes). At least 1 character. |
| `id` | string | Yes | Additional address id from ListInboxSupportAddresses.items for this same inbox_id. It is not the email address, inbox ID, or a verification token. At least 1 character. |

## Verify forwarding before using a support address

Get the inbox_id and forwarding address from [List inbox channels](https://developer.brigg.app/reference/support/ListInboxChannels). Configure your mail provider to forward the public support address into that inbox, then [add the address](https://developer.brigg.app/reference/support/AddInboxSupportAddress). Adding it sends a verification email; the address becomes verified only when that email is forwarded back into the correct Brigg inbox.

List support addresses to check verifiedAt. A test=sent response only confirms a send attempt; it is not verification. Only the newest test can verify, and it expires after 24 hours. Fix forwarding before requesting another test. Verification permits that address to be used as Reply-To for its conversations; it does not change the authenticated sender.

Removing the address withdraws its verified Reply-To use. It does not remove your mail provider's forwarding rule or delete the inbox and its conversations. Change provider forwarding separately when retiring the address.

## Response

Returns **200 OK** with a JSON body.
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `test` | string | Yes | sent confirms a test email was sent; already_verified sends nothing; send_failed means delivery could not be initiated. Verification still requires the email to return through the inbox. Send throttling is HTTP 429 rate_limited, not a successful test value. |

## Errors & retries

Set `BRIGG_REQUEST_ID` once for each logical action. The samples send it as `Idempotency-Key`. Reuse the same value and body on retries, including after a timeout; a missing response does not prove the action failed.

For rate limits, follow the server’s retry guidance and back off. See [HTTP errors](https://developer.brigg.app/http#errors) and [safe retries and limits](https://developer.brigg.app/reliability).

| HTTP status | Code | What to do |
| --- | --- | --- |
| 400 | `invalid_json` | Send a JSON object with Content-Type: application/json. |
| 400 | `invalid_input` | Check the request fields and types. Supply a stable Idempotency-Key containing 1–200 characters. |
| 401 | `invalid_key` | The workspace API key is missing, invalid or revoked. |
| 403 | `forbidden` | Check the key’s operation and resource grants. If Brigg-Act-As is supplied, the key must be authorized to delegate to that member. |
| 404 | `not_found` | The requested operation or resource is not available to this credential. |
| 429 | `rate_limited` | Too many verification sends. Existing limits are ten per inbox and thirty per workspace per hour; wait before a new test action. |
| 409 | `org_not_provisioned` | Finish inbox-forwarding setup in Brigg before requesting verification. |

## Next steps

- [List inbox support addresses](https://developer.brigg.app/reference/support/ListInboxSupportAddresses)
- [Add inbox support address](https://developer.brigg.app/reference/support/AddInboxSupportAddress)
- [Remove inbox support address](https://developer.brigg.app/reference/support/RemoveInboxSupportAddress)
- [List inbox channels](https://developer.brigg.app/reference/support/ListInboxChannels)
- [List inboxes](https://developer.brigg.app/reference/support/ListInboxes)

[Download OpenAPI](https://developer.brigg.app/openapi.json) · [Versioning & retirement](https://developer.brigg.app/versioning)

## Examples

### Send a fresh test

The new test supersedes the previous one; it must return through this same inbox.
#### cURL


```sh
curl 'https://api.brigg.app/v1/operations/support.ResendInboxSupportAddressTest' \
  -H "Authorization: Bearer $BRIGG_API_KEY" \
  -H 'Content-Type: application/json' \
  -H "Idempotency-Key: $BRIGG_REQUEST_ID" \
  --data-raw '{
  "inbox_id": "e_inbox_support",
  "id": "isa_help"
}'
```

#### TypeScript


```typescript
const requestId = process.env.BRIGG_REQUEST_ID;
if (!requestId) throw new Error("Set BRIGG_REQUEST_ID once per action and reuse it on retries.");

const response = await fetch("https://api.brigg.app/v1/operations/support.ResendInboxSupportAddressTest", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.BRIGG_API_KEY}`,
    "Content-Type": "application/json",
    "Idempotency-Key": requestId, // Create once per action; reuse on retries.
  },
  body: JSON.stringify({
    "inbox_id": "e_inbox_support",
    "id": "isa_help"
  }),
});
const result = await response.json();
if (!response.ok) throw new Error(`${response.status}: ${result.error} — ${result.message}`);
console.log(result);
```

#### Python


```python
import json
import os
from urllib.request import Request, urlopen
from urllib.error import HTTPError

request_id = os.environ["BRIGG_REQUEST_ID"]  # Reuse for retries of this action.
payload = {
  "inbox_id": "e_inbox_support",
  "id": "isa_help"
}
request = Request(
    "https://api.brigg.app/v1/operations/support.ResendInboxSupportAddressTest",
    data=json.dumps(payload).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {os.environ['BRIGG_API_KEY']}",
        "Content-Type": "application/json",
        "Idempotency-Key": request_id,  # Create once per action; reuse on retries.
    },
    method="POST",
)
try:
    with urlopen(request) as response:
        print(json.load(response))
except HTTPError as error:
    print(error.code, json.load(error))
    raise
```

#### Response example


```json
{
  "test": "sent"
}
```

## JSON schemas


```json-schema-request
{
  "type": "object",
  "properties": {
    "inbox_id": {
      "type": "string",
      "minLength": 1,
      "description": "Use the support inbox record's top-level id, not its slug or forwarding address. [support.ListInboxes](https://developer.brigg.app/reference/support/ListInboxes)."
    },
    "id": {
      "type": "string",
      "minLength": 1,
      "description": "Additional address id from ListInboxSupportAddresses.items for this same inbox_id. It is not the email address, inbox ID, or a verification token."
    }
  },
  "required": [
    "inbox_id",
    "id"
  ],
  "additionalProperties": false,
  "examples": [
    {
      "inbox_id": "e_inbox_support",
      "id": "isa_help"
    }
  ]
}
```


```json-schema-response
{
  "type": "object",
  "properties": {
    "test": {
      "type": "string",
      "description": "sent confirms a test email was sent; already_verified sends nothing; send_failed means delivery could not be initiated. Verification still requires the email to return through the inbox. Send throttling is HTTP 429 rate_limited, not a successful test value."
    }
  },
  "required": [
    "test"
  ],
  "additionalProperties": false,
  "examples": [
    {
      "test": "sent"
    }
  ]
}
```

