CRM

Get a list's sharing state (+ owner display, canManageSharing)

GET
/v1/crm/lists/{id}/shares

Authorization

x-api-key<token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/crm/lists/string/shares"
{
  "data": {
    "canManageSharing": true,
    "orgWidePermission": "viewer",
    "owner": {
      "email": "string",
      "image": "string",
      "name": "string",
      "userId": "string"
    },
    "ownerUserId": "string",
    "shares": [
      {
        "createdAt": 0,
        "email": "string",
        "id": "string",
        "image": "string",
        "invitedByName": "string",
        "name": "string",
        "permission": "owner",
        "userId": "string"
      }
    ],
    "visibility": "private"
  }
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string",
  "limit": 0,
  "size": 0
}
{
  "error": "string"
}