POST
Body
Unique identifier for a given Organization.
Response
A successful response returns the following fields:A list of User Tags
curl --request POST \
  --url https://api.turnkey.com/public/v1/query/list_user_tags \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --header "X-Stamp: <YOUR_API_KEY.YOUR_API_SECRET>" \
  --data '{
    "organizationId": "<string>"
}'
{
  "activity": {
    "id": "<activity-id>",
    "status": "ACTIVITY_STATUS_COMPLETED",
    "type": "ACTIVITY_TYPE_UNKNOWN_V1",
    "organizationId": "<organization-id>",
    "timestampMs": "<timestamp> (e.g. 1746736509954)",
    "result": {
      "userTags": [
        {
          "tagId": "<string>",
          "tagName": "<string>",
          "tagType": "<TAG_TYPE_USER>",
          "createdAt": {
            "seconds": "<string>",
            "nanos": "<string>"
          },
          "updatedAt": {
            "seconds": "<string>",
            "nanos": "<string>"
          }
        }
      ]
    }
  }
}
List all User Tags within an Organization
Show userTags details
curl --request POST \
  --url https://api.turnkey.com/public/v1/query/list_user_tags \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --header "X-Stamp: <YOUR_API_KEY.YOUR_API_SECRET>" \
  --data '{
    "organizationId": "<string>"
}'
{
  "activity": {
    "id": "<activity-id>",
    "status": "ACTIVITY_STATUS_COMPLETED",
    "type": "ACTIVITY_TYPE_UNKNOWN_V1",
    "organizationId": "<organization-id>",
    "timestampMs": "<timestamp> (e.g. 1746736509954)",
    "result": {
      "userTags": [
        {
          "tagId": "<string>",
          "tagName": "<string>",
          "tagType": "<TAG_TYPE_USER>",
          "createdAt": {
            "seconds": "<string>",
            "nanos": "<string>"
          },
          "updatedAt": {
            "seconds": "<string>",
            "nanos": "<string>"
          }
        }
      ]
    }
  }
}
Was this page helpful?