Docs

PATCH /account/onboarding

Console: the onboarding answers — your name, the company (which becomes the account name), the website, what you will send and roughly how much. Send completed: true to finish; only your name is required.

Parameters

  • Idempotency-Key header · string · optionalMakes this call safe to retry. Send the same key with the same body and the original response is replayed instead of the work happening twice. Keys are 1-256 characters and are remembered for 7 days. While the first attempt is still running, a second call with that key returns 409 idempotency_in_flight (Resend calls this concurrent_idempotent_requests); the same key with a different body returns 409 idempotency_payload_mismatch (Resend: invalid_idempotent_request).

Request body

FieldTypeRequiredNotes
companystringno
completedbooleanno
contact_namestringno
expected_volume"under_30k" | "30k_100k" | "100k_1m" | "over_1m" | nullno
use_casesarray<"transactional" | "product_lifecycle" | "ai_agents">no
websitestring | nullno

Responses

  • 200 Success
  • 400 Validation error
  • 401 Missing API key
  • 403 Forbidden
  • 404 Not found
  • 409 Conflict
  • 429 Rate limited
  • 500 Internal server error

Response headers

  • ratelimit-limit — Messages this API key may spend in one 60-second window.
  • ratelimit-remaining — Messages left in the current window.
  • ratelimit-reset — Seconds until the current window resets and the budget refills.

200 body

FieldTypeRequiredNotes
approval_reasonstring | nullyes
created_atstringyes
idstringyes
namestringyes
onboardingobjectyes
onboarding.companystringyes
onboarding.completed_atstring | nullyes
onboarding.contact_namestring | nullyes
onboarding.expected_volume"under_30k" | "30k_100k" | "100k_1m" | "over_1m" | nullyes
onboarding.use_casesarray<"transactional" | "product_lifecycle" | "ai_agents">yes
onboarding.websitestring | nullyes
onboarding.website_domainstring | nullyes
status"sandboxed" | "approved" | "suspended"yes

Errors

Codes in the catalogue that answer with one of this operation’s error statuses. Every one of them carries a fix.