younifyd
Menu

Add Collaborator

Add a collaborator

POST/v1/spaces/{space_id}/collaborators

Use it in a workflow

  1. Add a step and choose the Storyblok connector.
  2. Pick the Add Collaborator action (under Collaborators).
  3. Fill in the fields below, then reference the result from later steps as {{addCollaborator.response.data}}.

Request

Path parameters

space_idintegerrequired

Numeric ID of the space.

Request body

Enter the body as JSON in the step's Body field.

emailstringrequired

Collaborator email.

rolestring

admin, editor, a custom role, or multi.

space_role_idinteger
space_role_idsarray<integer>

Custom role IDs (with role multi).

permissionsarray<string>
allow_multiple_roles_creationboolean
json
{
  "email": "string",
  "role": "string",
  "space_role_id": 0,
  "space_role_ids": [
    0
  ],
  "permissions": [
    "string"
  ],
  "allow_multiple_roles_creation": false
}

Response

Returns 201 with an object. Read it in later steps with {{addCollaborator.response.data.<field>}}.

collaboratorobject
json
{
  "collaborator": {}
}

Need more? See the Storyblok guide for connection setup and behaviour shared by every action.