Invite a member
https://api.floconnector.com/v1/members/invites- Scope
members.invite- Rate limit
- the key's write budget, 60 a minute
FloConnector emails the invite and nothing changes until the person accepts; it expires after 7 days. Inviting an address that already has a pending invite refreshes that invite with the role and workspaces given now, instead of making a second. Someone who is already a member is refused unless the invite names specific workspaces. Only an owner can invite an owner, so a key cannot, and the plan's member limit applies.
Body
The fields it takes:
emailstring (email)requiredThe address to invite. If it already has a pending invite, that invite is refreshed instead of a second being made.
roleenumoptionalThe ladder role to grant. Default member. Only an owner may invite an owner.
owneradminmemberrole_idstring (uuid)optionalA named role (custom roles, Pro+) instead of role.
workspace_idsarray of string (uuid)optionalThe workspaces the acceptance grants. Omit or [] for the whole account.
Up to 50 items
Responses
201Created
inviteobjectThe invite as sent, or the refreshed one when the address already had one pending.
ShowHide 10 fields
idstringThe invite's id.
emailstringThe address invited.
roleenumThe position on the role ladder the acceptance grants: owner, admin or member.
owneradminmemberrole_idstringnullableThe id of the named role the invite grants. Null on older invites that carry only a ladder role.
role_namestringnullableThat role's name. Null when role_id is.
workspace_idsarray of stringEvery workspace the acceptance grants. Empty means the whole account.
workspace_idstringnullableThe workspace, when the invite names exactly one. Null otherwise: read workspace_ids.
workspace_namestringnullableThe names of those workspaces, comma-separated. Null for a whole-account invite.
expires_atstringWhen the invite's link stops working, ISO 8601 timestamp.
created_atstringWhen the invite was first sent, ISO 8601 timestamp.
400validation: a field failed validation; field names it.
Every error has the same envelope:
errorobjectShowHide 5 fields
codeenumWhat went wrong, as a stable word. Branch on this, never on message.
unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternalmessagestringThe same thing in a sentence, written for a person.
fieldstringoptionalvalidation only: the field that failed, as a path into the request.
requiredstringoptionalinsufficient_scope only: the scope the route needs.
detailsobjectoptionalExtra structure some errors carry, such as a refused record batch's per-record errors.
401unauthorized: no key, or an unknown, revoked or expired key.
Every error has the same envelope:
errorobjectShowHide 5 fields
codeenumWhat went wrong, as a stable word. Branch on this, never on message.
unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternalmessagestringThe same thing in a sentence, written for a person.
fieldstringoptionalvalidation only: the field that failed, as a path into the request.
requiredstringoptionalinsufficient_scope only: the scope the route needs.
detailsobjectoptionalExtra structure some errors carry, such as a refused record batch's per-record errors.
403insufficient_scope: the key lacks the route's scope, named in required. Or forbidden, or plan_limit when the plan does not include the API.
Every error has the same envelope:
errorobjectShowHide 5 fields
codeenumWhat went wrong, as a stable word. Branch on this, never on message.
unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternalmessagestringThe same thing in a sentence, written for a person.
fieldstringoptionalvalidation only: the field that failed, as a path into the request.
requiredstringoptionalinsufficient_scope only: the scope the route needs.
detailsobjectoptionalExtra structure some errors carry, such as a refused record batch's per-record errors.
404not_found: the thing is not in this workspace.
Every error has the same envelope:
errorobjectShowHide 5 fields
codeenumWhat went wrong, as a stable word. Branch on this, never on message.
unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternalmessagestringThe same thing in a sentence, written for a person.
fieldstringoptionalvalidation only: the field that failed, as a path into the request.
requiredstringoptionalinsufficient_scope only: the scope the route needs.
detailsobjectoptionalExtra structure some errors carry, such as a refused record batch's per-record errors.
429rate_limited: the key's per-minute budget is spent. Retry after Retry-After seconds.
Every error has the same envelope:
errorobjectShowHide 5 fields
codeenumWhat went wrong, as a stable word. Branch on this, never on message.
unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternalmessagestringThe same thing in a sentence, written for a person.
fieldstringoptionalvalidation only: the field that failed, as a path into the request.
requiredstringoptionalinsufficient_scope only: the scope the route needs.
detailsobjectoptionalExtra structure some errors carry, such as a refused record batch's per-record errors.
Errors lists every error code and what to do about it.