Mail API reference

Mail API · Inbound-Routes

post/v1/workspaces/{workspace_id}/forward-destinations/{id}/resendAuth

Resend the confirmation email

A new link (the old one stops working), valid 7 days. Once a minute at most.

Path parameters

workspace_id*string · uuid

Id of the workspace.

id*string · uuid

Destination id.

Headers

Idempotency-Keystring

Opaque client-generated string (1–256 chars, `[A-Za-z0-9._:-]`) used to deduplicate retries within a 24h window. A retry with the same key and body returns the original response with `Idempotent-Replay: true`.

Response · 200

id*string · uuid

Destination id (what a forward action's `to` lists).

address*string · email

The address mail is forwarded to.

Example: "ops@example.com"

status*object

`pending` until the address confirms (a member's verified email and the SES mailbox simulator are confirmed at once).

confirmed_at*string · date-time

When it was confirmed; null while pending.

member_account_id*string · uuid

The member whose verified email this is, when it confirmed that way.

confirmation_sent_at*string · date-time

When the last confirmation email went out.

confirmation_expires_at*string · date-time

When the confirmation link stops working.

created_at*string · date-time

When it was added.

Example

Request

POST https://api.mail.productcraft.co/v1/workspaces/{workspace_id}/forward-destinations/{id}/resend
Authorization: Bearer YOUR_TOKEN

Response

{
  "id": "00000000-0000-0000-0000-000000000000",
  "address": "ops@example.com",
  "status": {},
  "confirmed_at": "2026-01-01T00:00:00.000Z",
  "member_account_id": "00000000-0000-0000-0000-000000000000",
  "confirmation_sent_at": "2026-01-01T00:00:00.000Z",
  "confirmation_expires_at": "2026-01-01T00:00:00.000Z",
  "created_at": "2026-01-01T00:00:00.000Z"
}