Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 6 additions & 14 deletions resend.json
Original file line number Diff line number Diff line change
Expand Up @@ -1019,17 +1019,6 @@
"summary": "Enable Forge for a domain",
"description": "Put a domain's sending on Resend Forge. The domain must be a sending domain: receive-only domains, domains on a dedicated IP, and domains with legacy DKIM get a `forge_unavailable` error. The response includes the DNS record Forge needs. Add it to your DNS and call the verify domain endpoint with `scope: [\"forge\"]`, then poll the retrieve domain endpoint until the Forge record's `status` is `verified`. The domain keeps sending through its current records while the Forge record verifies, so there is no interruption. Calling this endpoint again just returns the current state.",
"parameters": [
{
"in": "header",
"name": "Idempotency-Key",
"required": false,
"schema": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"description": "A unique key for the request, so Forge is enabled only once. A retry with the same key within 24 hours returns the first successful (2xx) response, with the `idempotent-replayed: true` header. A failed request is not stored, so it can be retried with the same key. Reusing the key with a different body, or while the first request is still running, returns a 409. An empty key, or one longer than 256 characters, returns a 400 `invalid_idempotency_key`. [Learn more](https://resend.com/docs/dashboard/emails/idempotency-keys)"
},
{
"name": "domain_id",
"in": "path",
Expand Down Expand Up @@ -9424,9 +9413,12 @@
"object",
"null"
],
"description": "The email headers.",
"additionalProperties": {
"type": "string"
},
"description": "The email headers, keyed by lowercase header name.",
"example": {
"X-Custom-Header": "value"
"x-custom-header": "value"
}
},
"created_at": {
Expand Down Expand Up @@ -11356,7 +11348,7 @@
},
"config": {
"type": "object",
"description": "Configuration for the step. Shape depends on `type`: - **trigger**: `{ event_name: string }` - **send_email**: `{ template: { id: string, variables?: object }, subject?: string, from?: string, reply_to?: string }` - **delay**: `{ duration: string }` — a human-readable duration (e.g. `\"30 minutes\"`) - **wait_for_event**: `{ event_name: string, timeout?: string, filter_rule?: object }` — `timeout` is a human-readable duration (e.g. `\"1 hour\"`) - **condition**: A rule tree with `type` (`rule`, `and`, `or`), `field`, `operator`, and `value` - **contact_update**: `{ first_name?: string|object, last_name?: string|object, unsubscribed?: boolean|object, properties?: object }` - **contact_delete**: `{}` - **add_to_segment**: `{ segment_id: string }`\n"
"description": "Configuration for the step. Shape depends on `type`: - **trigger**: `{ event_name: string }` - **send_email**: `{ template: { id: string, variables?: object }, subject?: string, from?: string, reply_to?: string, topic_id?: string }` - **delay**: `{ duration: string }` — a human-readable duration (e.g. `\"30 minutes\"`) - **wait_for_event**: `{ event_name: string, timeout?: string, filter_rule?: object }` — `timeout` is a human-readable duration (e.g. `\"1 hour\"`) - **condition**: A rule tree with `type` (`rule`, `and`, `or`), `field`, `operator`, and `value` - **contact_update**: `{ first_name?: string|object, last_name?: string|object, unsubscribed?: boolean|object, properties?: object }` - **contact_delete**: `{}` - **add_to_segment**: `{ segment_id: string }`\n"
}
}
},
Expand Down
Loading