Skip to main content
POST
/
api
/
permissions
/
{syncId}
/
list-users
List Users
curl --request POST \
  --url https://sync.useparagon.com/api/permissions/{syncId}/list-users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "object": "a657df3b-17e2-5989-bc5f-13ddb7fdab41",
  "role": "can_read"
}'
{
  "users": [
    "[email protected]"
  ]
}

Authorizations

Authorization
string
header
required

Paragon User Token. Add to the Authorization header of your requests.

Path Parameters

syncId
string
required

UUID of the Sync to query, returned from the Enable Sync endpoint.

Body

application/json
object
string
required

UUID of the Synced Object, returned from the Pull Synced Records endpoint.

Example:

"a657df3b-17e2-5989-bc5f-13ddb7fdab41"

role
enum<string>
required

The role to filter related users by.

Available options:
can_read,
can_write,
is_owner

Response

users
string[]

List of user emails that have access to the Synced Object with the specified role.

I