Skip to main content

Provision a new Garfield account for a referred business

POST 

/onboardings

Creates a partner-originated prospect, seeds a Garfield entity, and (unless the partner is configured to suppress it) emails the user a magic link to finish onboarding. Use this for businesses new to Garfield. If automatic onboarding cannot be completed for the details supplied, the request is rejected with onboarding_unavailable (see below); fall back to POST /connect-requests.

Idempotency. The prospect is keyed deterministically on (partner_id, partner_user_id). Repeating the call with the same partner_user_id returns the original onboarding_id with already_existed: true and HTTP 200, and does not re-send the email. On a replay the original magic link cannot be recovered, so magic_link_url is null even when link-in-response is enabled.

Request

Responses

Idempotent replay. An onboarding already existed for this (partner_id, partner_user_id). When your account is configured for link-in-response, magic_link_url is always null on a replay: the original link cannot be recovered.