API referenceOrganizations
Invite someone
POST
cookie
lb_session<token>Dashboard session cookie, set by the sign-in endpoints.
org*stringOrganization slug
application/json- body
email*stringFormat
emailLength
length <= 254role*RoleValue in
"owner""admin""developer""viewer"Created; link is returned once
application/json- response
id*stringemail*stringrole*RoleValue in
"owner""admin""developer""viewer"invitedBy*stringexpiresAt*stringcreatedAt*stringlink?stringcurl -X POST "https://example.com/v1/orgs/string/invitations" \ -H "Content-Type: application/json" \ -d '{ "email": "user@example.com", "role": "owner" }'{ "id": "string", "email": "string", "role": "owner", "invitedBy": "string", "expiresAt": "string", "createdAt": "string", "link": "string"}