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

NameTypeDescription

projectId

string

Unique id for the project

Headers

NameTypeDescription

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

NameTypeDescription

projectId

string

Unique id for the project

Headers

NameTypeDescription

Authorization

string

User token or project key.

Request Body

NameTypeDescription

email

string

Email of user to invite

{
    "success": true
}

Last updated