List invitations
Lists an organisation’s open invitations, with the ones that have expired. Invitation codes are never returned.
GET
/_luna/orgs/{org}/invitesAuthorization
AuthorizationBearer token · headerrequiredAn account key (la_…), an API key (lt_…) or a session token (ls_…). The scopes listed are the permissions the operation needs.
Scopes:
members:writePath parameters
orgstringrequiredThe organisation, by its slug.
Responses
200
The organisation's invitations.
invitesInviteItem[]requiredShow propertiesHide properties
Array of
InviteItemidstringrequiredemailstring | nullThe address it is for. Null for a link anyone can use.
rolestringrequiredcreatedMsinteger<int64>requiredmin 0
expiresMsinteger<int64>requiredmin 0
expiredbooleanrequiredWhether it has run out. An expired invitation can be sent again.
createdBystringrequiredWho made it: an email address or a key's label.
default
The request failed. The status says how and error.message says why.
errorErrorDetailrequiredShow propertiesHide properties
codestring | nullA code for programs to branch on, when the error has one.
messagestringrequiredWhat went wrong, in a sentence a person can read.