Is AI recommending you? Ask Contentstack Canoe for free
Is AI recommending your brand? Find out with Contentstack Canoe for free
Contentstack.comAcademyLogin
CS-log-dark.svgCS-log-dark.svg
  • Changelog
  • APIs
  • SDKs

Platform

  • Solution Center
  • Marketplace
  • Changelog
  • Developers & IT
  • Business users
  • Digital leaders
  • Developer Fast Track
  • Plans & Pricing

Solutions

  • Retail
  • Travel and tourism
  • Financial services
  • Technology
  • Manufacturing
  • E-commerce
  • Localization
  • Personalization
  • Portals and knowledge bases

Resources

  • Academy
  • Docs
  • Contentstack for Developers
  • Agents Start Here
  • Product updates
  • Contentstack on Contentstack
  • Blog
  • Insights and analyst reports
  • The Forrester Wave™: Digital Experience Platforms, Q4 2025
  • Webinars
  • Glossary
  • Content generative library
  • Community

Customers

  • Case Studies
  • Customer Care
  • Contentstack Experience Awards
  • Customer support

Partners

  • Overview
  • Find a partner
  • Login

Company

  • About us
  • News
  • Customer support portal
  • Contact

Social

  • Facebook
  • LinkedIn
  • Instagram
  • GitHub
  • YouTube
  • Discord
  • X
LegalTermsPrivacyTrust Center

Cookie settings

Copyright © 2026 Contentstack Inc. All rights reserved.
/
  1. Home
  2. APIs
  3. Lytics Management API
  4. Collaborators

Collaborators

markdownView as Markdown

Invite people to a project, change their roles and remove them.

Invite collaborators to a project

POSThttps://lytics-api.contentstack.com/projects/{id}/collaborators

Invites one or more users by email and assigns the given roles.

Sample Request
123456789
{
  "userEmails": [
    "[email protected]"
  ],
  "roles": [
    "marketer"
  ],
  "invitationMessage": "string"
}
Sample Response
Status|200 OK
1
Invited collaborators

List collaborators for a project

GEThttps://lytics-api.contentstack.com/projects/{id}/collaborators

undefined

Sample Response
Status|200 OK
1
Project collaborators

Add the signed-in user to a project without sending an invitation

POSThttps://lytics-api.contentstack.com/projects/{id}/collaborators/join

undefined

Sample Response
Status|204 No Content
1
Current user added to the project

Remove a collaborator from a project

DELETEhttps://lytics-api.contentstack.com/projects/{id}/collaborators/{userUid}

undefined

Sample Response
Status|204 No Content
1
Collaborator removed

Update a collaborator's roles

PUThttps://lytics-api.contentstack.com/projects/{id}/collaborators/{userUid}

undefined

Sample Request
12345
{
  "roles": [
    "marketer"
  ]
}
Sample Response
Status|200 OK
1
Updated collaborator

Set a user's Lytics access across the organization

POSThttps://lytics-api.contentstack.com/organization/collaborators

Provisions the user in every named project's CDP account with the given roles. The assignment list is the complete desired state: a project left out is revoked, and an empty list revokes all Lytics access. Contentstack collaborations are not touched; the caller has already created them.

Sample Request
12345678910111213
{
  "userUid": "blt3f2a1c9e7d5b4a80",
  "email": "[email protected]",
  "assignments": [
    {
      "projectUid": "507f1f77bcf86cd799439011",
      "roles": [
        "admin"
      ]
    }
  ],
  "orgAdmin": true
}
Sample Response
Status|200 OK
1
Access synchronised

Read a user's Lytics roles across the organization

GEThttps://lytics-api.contentstack.com/organization/collaborators/{userUid}

Returns the user's Lytics account roles on every active project in the organization, as the CDP holds them. A project where the user holds no role is left out. Org-level read access is enough; the caller need not collaborate on the projects.

Sample Response
Status|200 OK
1
The user's roles per project
Hide Parameters

URL Parameters

idrequiredstring

Project UID

Headers

authorizationoptionalstring

Bearer token for authorization

authtokenoptionalstring

Contentstack authtoken

organization_uidrequiredstring

Contentstack organization UID

x-cs-api-versionoptionalstring

API version (defaults to v1)

Body Parameters

userEmailsrequiredstring[]

Email addresses of users to invite as collaborators

rolesrequiredstring[]

Role slugs to assign to each invited collaborator. Each slug must be assignable on the project's account; list them with GET /projects/{id}/roles.

invitationMessageoptionalstring

Optional message included in the invitation email

Hide Parameters

URL Parameters

idrequiredstring

Project UID

Headers

authorizationoptionalstring

Bearer token for authorization

authtokenoptionalstring

Contentstack authtoken

organization_uidrequiredstring

Contentstack organization UID

x-cs-api-versionoptionalstring

API version (defaults to v1)

Hide Parameters

URL Parameters

idrequiredstring

Project UID

Headers

authorizationoptionalstring

Bearer token for authorization

authtokenoptionalstring

Contentstack authtoken

organization_uidrequiredstring

Contentstack organization UID

x-cs-api-versionoptionalstring

API version (defaults to v1)

Hide Parameters

URL Parameters

userUidrequiredstring

UID of the collaborator to remove

idrequiredstring

Project UID

Headers

authorizationoptionalstring

Bearer token for authorization

authtokenoptionalstring

Contentstack authtoken

organization_uidrequiredstring

Contentstack organization UID

x-cs-api-versionoptionalstring

API version (defaults to v1)

Hide Parameters

URL Parameters

userUidrequiredstring

UID of the collaborator to update

idrequiredstring

Project UID

Headers

authorizationoptionalstring

Bearer token for authorization

authtokenoptionalstring

Contentstack authtoken

organization_uidrequiredstring

Contentstack organization UID

x-cs-api-versionoptionalstring

API version (defaults to v1)

Body Parameters

rolesrequiredstring[]

Replacement set of role slugs for the collaborator. Each slug must be assignable on the project's account; list them with GET /projects/{id}/roles.

Hide Parameters

Headers

authorizationoptionalstring

Bearer token for authorization

authtokenoptionalstring

Contentstack authtoken

organization_uidrequiredstring

Contentstack organization UID

x-cs-api-versionoptionalstring

API version (defaults to v1)

Body Parameters

userUidrequiredstring

Contentstack UID of the user being provisioned

emailrequiredstring

Email address of the user being provisioned

assignmentsrequiredobject[]

The user's complete desired Lytics access in this organization. Any project absent from this list is revoked, and an empty list revokes every project.

assignments[].projectUidrequiredstring

UID of a Data and Insights project in this organization

assignments[].rolesrequiredstring[]

Lytics account role slugs for this project's CDP account

orgAdminoptionalboolean

Whether the user is a Lytics organisation admin. Omit to leave the current status unchanged.

Hide Parameters

URL Parameters

userUidrequiredstring

Headers

authorizationoptionalstring

Bearer token for authorization

authtokenoptionalstring

Contentstack authtoken

organization_uidrequiredstring

Contentstack organization UID

x-cs-api-versionoptionalstring

API version (defaults to v1)