Invite Member
/companies/{companyId}/membersAuthorization
cookieAuth In: cookie
Path Parameters
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/companies/497f6eca-6276-4993-bfeb-53cbbbba6f08/members" \ -H "Content-Type: application/json" \ -d '{ "email": "string", "roles": [ { "builtinRole": "owner" } ] }'{ "ok": true, "email_delivery": "failed"}Invite Affiliate POST
Invites an affiliate: an affiliate record with no identity (status invited; the identity attaches at the person's first sign-in) and an approved membership in each listed program, or the default program. The invitee's email is checked against the company's rejoin blocks: an exact match is 409 affiliate_banned and writes nothing; a partial match admits the invitee with pending memberships and flagged_for_review. Cookie members require Hms-Company and Hms-Livemode; Idempotency-Key returns 400 invalid_request with idempotency_not_supported_for_member_routes. Bearer callers require Idempotency-Key. Agents cannot write affiliate records.
Issue Agent Key POST
Next Page