Contractor portal

onboarding.save

Record which setup questions you answered or skipped, whether you finished, and whether you agree to get your tax slips and pay statements by email. It changes nothing else about your profile. Over the API and MCP only answered, skipped and completed are accepted: agreeing to get tax slips by email (eDelivery) is the person's own choice in the portal and is refused with INTERACTIVE_PORTAL_REQUIRED.

POST/api/v1/contractor/onboarding.save

Permissions

contractor:readcontractor:write

Who can call it

contractor

Retries

Idempotency key required

MCP

contractor_onboarding_save

Fields

  • idempotencyKeystringRequired

    Any unique text you generate once per intended change, so a retried request only happens once. Send it as the Idempotency-Key header instead if you prefer; if you send both they must match.

    8–200 characters

  • answeredarray of strings

    at most 40 items · each Matches ^[A-Za-z]{2,30}$

  • skippedarray of strings

    at most 40 items · each Matches ^[A-Za-z]{2,30}$

  • eDeliveryboolean
  • eDeliveryVersionstring

    Matches ^[0-9A-Za-z._-]{1,20}$

  • completedboolean

Example

curl https://app.getoatmilk.com/api/v1/contractor/onboarding.save \
  -H "Authorization: Bearer $OATMILK_OAUTH_TOKEN" \
  -H "X-Accounting-Organization: $OATMILK_ORGANIZATION_ID" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "answered": [
    "answered"
  ]
}'
Response
{
  "data": { … }
}

Try it

Try it

Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.

POST/api/v1/contractor/onboarding.save
curl https://app.getoatmilk.com/api/v1/contractor/onboarding.save \
  -H "Authorization: Bearer $OATMILK_OAUTH_TOKEN" \
  -H "X-Accounting-Organization: $OATMILK_ORGANIZATION_ID" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "answered": [
    "answered"
  ]
}'

More in Contractor portal.