Add a member to a project
POST
/api/v4/projects/{id}/invitations
Adds a member to a project. You can specify a user ID or invite a user by email.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” id
required
string
The project ID
Request Body required
Section titled “ Request Body required ” Media type application/json
object
access_level
required
A valid access level (defaults: 30, developer access level)
integer
email
The email address to invite, or multiple emails separated by comma
Array<string>
user_id
The user ID of the new member or multiple IDs separated by commas.
Array<string>
expires_at
Date string in the format YEAR-MONTH-DAY
string format: date-time
invite_source
Source that triggered the member creation process
string
member_role_id
The ID of a member role for the invited user
integer
Responses
Section titled “ Responses ”Created
Media type application/json
object
access_level
string
created_at
string
expires_at
string
invite_email
string
invite_token
string
user_name
string
created_by_name
string
Example generated
{ "access_level": "example", "created_at": "example", "expires_at": "example", "invite_email": "example", "invite_token": "example", "user_name": "example", "created_by_name": "example"}Bad Request
Not Found