Add or invite a member
POSThttps://api.butterix.com/v1/orgs/:org/members
Requires the admin role. If the email is already registered, the user joins the organization right away and the response is { "added": true };
otherwise a one-time invite link is created and returned as { "invite": { "url" } } for you to send.
Authentication
Authorization
An organization API key, created in the console under Organization settings → API Keys, starting with biti_. It acts as editor and can't do anything that requires admin.
biti_session
The HttpOnly session cookie set on login. Requests that change data must be same-origin (the Origin header is checked) to prevent CSRF.
Path parameters
Request
This endpoint expects an object.
Response
Added, or invite created