{ "opencollection": "1.0.0", "info": { "name": "Coveo Activity Activities Platform Tokens API", "version": "1.0.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://platform.cloud.coveo.com/oauth/authorize", "accessTokenUrl": "https://platform.cloud.coveo.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Platform Tokens", "type": "folder" }, "items": [ { "info": { "name": "generatePlatformToken", "type": "http" }, "http": { "method": "POST", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/tokens", "params": [ { "name": "organizationId", "value": "", "type": "path" }, { "name": "validityPeriod", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" } } } ] } ], "bundled": true }