Set forwarding
Points 1–25 domains at one URL. Send each domain as a separate array
entry, not a comma-separated string. Valid requests wait for Cloudflare
setup and retry temporary provider failures for up to 72 hours from acceptance.
A raw domain name on a paid, accepted order in this account is accepted even
before its domain record exists. Its destination is saved and automatically
applied when setup is ready. Unpaid, unknown, or foreign domains are rejected.
A newer
forwarding request supersedes an older pending target for the same domain.
A destination matching any submitted domain or its www host is rejected.
Rejected requests leave existing targets unchanged.
202 means the job was accepted, not that forwarding was applied.
Poll the job or listen for domain.forwarding_* for its final result.
pending explains which domains are waiting. Cancellation or replacement
of the accepted order reservation ends that domain’s request safely.
Authorizations
Partner API key (pk_live_… or pk_test_…).
Headers
Reuse with the same domain selectors and URL to retrieve the same job. Changed settings with the same key return 409. Omit it to create a new request.
1 - 256Body
Response
Forwarding job started.