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/177/collaborators" -d '{"email":"emanuel.ohara@hintzrunolfon.org"}' -X POST \
	-H "Accept: application/json" \
	-H "Content-Type: application/json"
	-H "Authorization: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoyNDYsInRpbWVzdGFtcCI6MTUyMzk2MzQzOX0.x4EG8Hq9mP3Tmz-2AqHhfGqcgvUHtp9_3isbO1NtXJY" \

Response

Body

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

    ],
    "allowed_path": "",
    "field_permissions": "",
    "id": 34,
    "space_role_id": null,
    "user": {
      "email": "emanuel.ohara@hintzrunolfon.org",
      "alt_email": null,
      "firstname": null,
      "lastname": null,
      "phone": null,
      "id": 247,
      "login_strategy": "password",
      "created_at": "2018-04-10T11:10:39.819Z"
    },
    "space_role": null
  }
}

Documentation