Add

  • POST
  • /workspaces
  • /:domain
  • /members

Adds a user to the workspace. Restricted to administrators only.

Request

REQUIRED SCOPES
WORKSPACE
URL PARAMETERS
domainrequired string
The workspace domain.
POST PARAMETERS
emailrequired string
Email address of the user.

Last modified on Sep 27, 2024

Example:

curl -X POST "https://api.buddy.works/workspaces/:domain/members" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
-H "Content-Type: application/json" \
-d '{
  "email": "mike.benson@buddy.works"
}'
EXAMPLE RESPONSE
{ "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", "admin": false, "workspace_owner": false }
STATUS
201 Created
LIMITS
X-Rate-Limit-Limit: 1 X-Rate-Limit-Remaining: 999