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/882/collaborators" -d '{"email":"antonio_jones@rosenbaum.org"}' -X POST \
	-H "Accept: application/json" \
	-H "Content-Type: application/json"
	-H "Authorization: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxNzM5LCJ0aW1lc3RhbXAiOjE1MzkzMzM5NzN9.rMLr2leUuViCyNpuoa2hoP2bsza5qqCMukjWb63azhk" \

Response

Body

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

    ],
    "allowed_path": "",
    "field_permissions": "",
    "id": 745,
    "space_role_id": null,
    "user": {
      "userid": "antonio_jones@rosenbaum.org",
      "email": "antonio_jones@rosenbaum.org",
      "organization": null,
      "username": null,
      "use_username": false,
      "alt_email": null,
      "firstname": null,
      "lastname": null,
      "phone": null,
      "id": 1740,
      "login_strategy": "password",
      "created_at": "2018-10-05T08:46:13.309Z"
    },
    "space_role": null
  }
}

Documentation