Members

Available for user tokens and project keys

Get Members

GET https://api.suble.io/projects/:projectId/members

Retrieve list of members apart of the project.

Path Parameters

Name
Type
Description

projectId

string

Unique id for the project

Headers

Name
Type
Description

Authorization

string

User token or project key.

[
    {
        "_id": ObjectId,
        "fullname": String,
        "email": String,
        "image": String,
        "pending": Boolean
    }
]

Invite Member

POST https://api.suble.io/projects/:projectId/members

Invite user to the project

Path Parameters

Name
Type
Description

projectId

string

Unique id for the project

Headers

Name
Type
Description

Authorization

string

User token or project key.

Request Body

Name
Type
Description

email

string

Email of user to invite

{
    "success": true
}

Last updated