{
  "info": {
    "_postman_id": "9090ca4d-6091-4fae-a435-7004e4b6098d",
    "name": "Coveo Activity Activities Platform Tokens API",
    "description": "API for Coveo Platform\n\nContact Support:\n Name: Coveo",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:30:30.000Z",
    "updatedAt": "2026-07-28T01:30:30.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-9090ca4d-6091-4fae-a435-7004e4b6098d"
  },
  "item": [
    {
      "name": "rest",
      "item": [
        {
          "name": "organizations",
          "item": [
            {
              "name": "{organizationId}",
              "item": [
                {
                  "name": "tokens",
                  "item": [
                    {
                      "name": "generate Platform Token",
                      "id": "edd42c5a-a9c5-4973-805a-6733f117548c",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "*/*"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"version\": \"<integer>\",\n  \"body\": {\n    \"organizationId\": \"<string>\",\n    \"privileges\": [\n      {\n        \"type\": \"<string>\",\n        \"targetDomain\": \"<string>\",\n        \"targetId\": \"<string>\",\n        \"owner\": \"<string>\",\n        \"level\": \"<string>\"\n      },\n      {\n        \"type\": \"<string>\",\n        \"targetDomain\": \"<string>\",\n        \"targetId\": \"<string>\",\n        \"owner\": \"<string>\",\n        \"level\": \"<string>\"\n      }\n    ],\n    \"additionalConfiguration\": {\n      \"search\": {\n        \"userIds\": [\n          {\n            \"name\": \"<string>\",\n            \"provider\": \"<string>\",\n            \"type\": \"<string>\"\n          },\n          {\n            \"name\": \"<string>\",\n            \"provider\": \"<string>\",\n            \"type\": \"<string>\"\n          }\n        ]\n      },\n      \"analytics\": {\n        \"event\": {\n          \"userId\": \"<string>\",\n          \"userDisplayName\": \"<string>\"\n        }\n      }\n    },\n    \"creatorAuthentication\": \"<string>\",\n    \"creatorEmail\": \"<string>\"\n  },\n  \"tokenId\": \"<string>\",\n  \"sub\": \"<string>\",\n  \"iss\": \"<string>\",\n  \"exp\": \"<long>\",\n  \"iat\": \"<long>\",\n  \"jti\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/rest/organizations/:organizationId/tokens?validityPeriod=PT24H",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "rest",
                            "organizations",
                            ":organizationId",
                            "tokens"
                          ],
                          "query": [
                            {
                              "key": "validityPeriod",
                              "value": "PT24H"
                            }
                          ],
                          "variable": [
                            {
                              "id": "a2f0785a-1b8d-4dc2-836a-55c35a94a63c",
                              "key": "organizationId",
                              "value": "<string>",
                              "description": "(Required) "
                            }
                          ]
                        }
                      },
                      "response": [
                        {
                          "id": "d5c9389b-c3d2-4279-be7c-8bcd042dae81",
                          "name": "OK",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "*/*"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"version\": \"<integer>\",\n  \"body\": {\n    \"organizationId\": \"<string>\",\n    \"privileges\": [\n      {\n        \"type\": \"<string>\",\n        \"targetDomain\": \"<string>\",\n        \"targetId\": \"<string>\",\n        \"owner\": \"<string>\",\n        \"level\": \"<string>\"\n      },\n      {\n        \"type\": \"<string>\",\n        \"targetDomain\": \"<string>\",\n        \"targetId\": \"<string>\",\n        \"owner\": \"<string>\",\n        \"level\": \"<string>\"\n      }\n    ],\n    \"additionalConfiguration\": {\n      \"search\": {\n        \"userIds\": [\n          {\n            \"name\": \"<string>\",\n            \"provider\": \"<string>\",\n            \"type\": \"<string>\"\n          },\n          {\n            \"name\": \"<string>\",\n            \"provider\": \"<string>\",\n            \"type\": \"<string>\"\n          }\n        ]\n      },\n      \"analytics\": {\n        \"event\": {\n          \"userId\": \"<string>\",\n          \"userDisplayName\": \"<string>\"\n        }\n      }\n    },\n    \"creatorAuthentication\": \"<string>\",\n    \"creatorEmail\": \"<string>\"\n  },\n  \"tokenId\": \"<string>\",\n  \"sub\": \"<string>\",\n  \"iss\": \"<string>\",\n  \"exp\": \"<long>\",\n  \"iat\": \"<long>\",\n  \"jti\": \"<string>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/rest/organizations/:organizationId/tokens?validityPeriod=PT24H",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "rest",
                                "organizations",
                                ":organizationId",
                                "tokens"
                              ],
                              "query": [
                                {
                                  "key": "validityPeriod",
                                  "value": "PT24H"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "organizationId"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "text",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "*/*"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"token\": \"<string>\"\n}",
                          "createdAt": "2026-07-28T01:30:30.000Z",
                          "updatedAt": "2026-07-28T01:30:30.000Z",
                          "uid": "35240-d5c9389b-c3d2-4279-be7c-8bcd042dae81"
                        }
                      ],
                      "createdAt": "2026-07-28T01:30:30.000Z",
                      "updatedAt": "2026-07-28T01:30:30.000Z",
                      "uid": "35240-edd42c5a-a9c5-4973-805a-6733f117548c"
                    }
                  ],
                  "id": "599cc016-d750-405e-a1dd-13975945e3ef",
                  "createdAt": "2026-07-28T01:30:30.000Z",
                  "updatedAt": "2026-07-28T01:30:30.000Z",
                  "uid": "35240-599cc016-d750-405e-a1dd-13975945e3ef"
                }
              ],
              "id": "a33d0407-3b75-4aef-aaff-f49c1bff9569",
              "createdAt": "2026-07-28T01:30:30.000Z",
              "updatedAt": "2026-07-28T01:30:30.000Z",
              "uid": "35240-a33d0407-3b75-4aef-aaff-f49c1bff9569"
            }
          ],
          "id": "a8f22fb2-6f2d-495c-8cff-7aace5c28bd8",
          "createdAt": "2026-07-28T01:30:30.000Z",
          "updatedAt": "2026-07-28T01:30:30.000Z",
          "uid": "35240-a8f22fb2-6f2d-495c-8cff-7aace5c28bd8"
        }
      ],
      "id": "a8d68a92-5f82-4f6d-b4bb-3f07cf81d931",
      "createdAt": "2026-07-28T01:30:30.000Z",
      "updatedAt": "2026-07-28T01:30:30.000Z",
      "uid": "35240-a8d68a92-5f82-4f6d-b4bb-3f07cf81d931"
    }
  ],
  "auth": {
    "type": "oauth2",
    "oauth2": [
      {
        "key": "scope",
        "value": "full",
        "type": "string"
      },
      {
        "key": "accessTokenUrl",
        "value": "https://platform.cloud.coveo.com/oauth/token",
        "type": "string"
      },
      {
        "key": "authUrl",
        "value": "https://platform.cloud.coveo.com/oauth/authorize",
        "type": "string"
      },
      {
        "key": "grant_type",
        "value": "authorization_code",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://platform.cloud.coveo.com"
    }
  ]
}