Invitations

get

/team/:teamid/invites (authenticated)

Get invites for a team

Note:Requires sending an authentication token either in the sessionid query argument,
or in the X-API-Key header. The token is returned from the login route.

Required Team Permissions

  1. team_management
Accepted Restful Arguments

teamid: The id of the team to act on

delete

/team/:teamid/invitation/:inviteid (authenticated)

Delete a team invitation

Note:Requires sending an authentication token either in the sessionid query argument,
or in the X-API-Key header. The token is returned from the login route.

Required Team Permissions

  1. team_management
Accepted Restful Arguments

teamid: The id of the team to act on
inviteid: undocumented

post

/team/:teamid/invitation (authenticated)

Invite someone to a team

Note:Requires sending an authentication token either in the sessionid query argument,
or in the X-API-Key header. The token is returned from the login route.

Required Team Permissions

  1. team_management
Accepted Body Arguments

{
// The e-mail for the user to invite
email: email,
// The ID of the group the user should end up in
target_group: integer,
}
Accepted Restful Arguments

teamid: The id of the team to act on

post

/team/:teamid/invitation/resend (authenticated)

Resend an invitation

Note:Requires sending an authentication token either in the sessionid query argument,
or in the X-API-Key header. The token is returned from the login route.

Required Team Permissions

  1. team_management
Accepted Body Arguments

{
// email address to resend the invite to.
The: email,
}
Accepted Restful Arguments

teamid: The id of the team to act on

post

/team/accept/invitation/:token

Accept an inviation with an existing account

Accepted Restful Arguments

token: undocumented

post

/team/accept/invitation/newaccount/:token

Accept an invitation, and create a new account.
Note that this also logs the user in, so it returns a session token
on success.

Accepted Body Arguments

{
// password
The: password,
}
Accepted Restful Arguments

token: undocumented

Did you find what you were looking for? Thank you! There was a problem submitting your feedback. Please try again later.