Add workspace member

Adds a user to the workspace. Can be performed by all users, unless restricted to administrators in the workspace settings.

Required scopes: WORKSPACE

Resource URL

POST /workspaces/:domain/members

URL Parameters

NameTypeDescription
domain
Required
StringThe workspace domain.

POST Parameters

NameTypeDescription
email
Required
String

Example

Request

POST https://api.buddy.works/workspaces/buddy/members

JSON

{
"email": "mike.benson@buddy.works"
}

Sample Response

HTTP

Status: 201 Created
X-Rate-Limit-Limit: 1
X-Rate-Limit-Remaining: 999

JSON

{
"url": "https://api.buddy.works/workspaces/buddy/member/1",
"html_url": "https://app.buddy.works/buddy/profile/1",
"id": 1,
"avatar_url": "https://app.buddy.works/image-server/user/0/0/0/0/0/0/1/171d78a3db9dc63368319ef4c9af9d9c/w/32/32/AVATAR.png",
"title": null,
"admin": false,
"workspace_owner": false
}