Invite admin / merchant-team or coaching users
Invites people to a merchant account and emails each one an invitation. Use it to add admin / merchant-team users who manage the recruiting dashboard (merchant_owner, merchant, merchant_selection), coaching-portal users (user, mentor), or interview candidates (candidate). Candidate invites require an interview_id and are gated by the merchant’s available interview credits; admin and coaching invites are not. Each user in the array is processed independently and returned with an individual result, so one failure does not block the rest. Callable with a merchant JWT (merchant_owner/merchant/admin) or a service-role key (requires merchant_id).
Authorizations
Supabase JWT access token, passed as Authorization: Bearer <token>.
Body
List of users to invite.
When true, re-sends the invite email for still-pending (invited) profiles that did not otherwise produce a result.
false
Target merchant id. Required when calling with a service-role key. For admins / sub-merchant users it overrides the JWT merchant.
"28106cba-1c27-4e53-b149-32113e5e8e31"
Language code applied to created profiles (one of the platform-languages.json codes). Defaults to 'en' when omitted.
ar, bg, zh, hr, cs, da, nl, en, fil, fi, fr, de, el, hi, hu, id, it, ja, ko, ms, no, pl, pt, br, ro, ru, sk, es, sv, ta, th, tr, uk, vi "en"
Optional custom message included in the invitation email.
Response
The users array with per-item invitation results.