Collaborators

Create a collaborator

Endpoint

POST /v1/spaces/:space_id/collaborators

Parameters

Name Description
email required Email of the collaborator

Request

cURL

curl "https://api.storyblok.com/v1/spaces/131/collaborators" -d '{"email":"tyra@stanton.info"}' -X POST \
	-H "Accept: application/json" \
	-H "Content-Type: application/json"
	-H "Authorization: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoyMDAsInRpbWVzdGFtcCI6MTUyODY1MjM5OX0.osuIqe7HoFrO8YYQp1ZoFYSBUi5QQdHXkXumcBjeuuo" \

Response

Body

{
  "collaborator": {
    "role": "editor",
    "permissions": [

    ],
    "allowed_path": "",
    "field_permissions": "",
    "id": 34,
    "space_role_id": null,
    "user": {
      "userid": "tyra@stanton.info",
      "email": "tyra@stanton.info",
      "username": null,
      "use_username": false,
      "alt_email": null,
      "firstname": null,
      "lastname": null,
      "phone": null,
      "id": 201,
      "login_strategy": "password",
      "created_at": "2018-06-03T17:39:59.056Z"
    },
    "space_role": null
  }
}

Documentation