--- title: "HCMS: Authenticate and Reuse Token in Requests" slug: "hcms-authenticate-and-reuse-tokens-in-requests" description: "Learn how to integrate HCMS with proper access and permissions, using Postman for API requests to create content seamlessly." updated: 2026-07-31T19:42:07Z published: 2026-07-31T19:42:07Z canonical: "www.civicplus.help/hcms-authenticate-and-reuse-tokens-in-requests" --- > ## Documentation Index > Fetch the complete documentation index at: https://www.civicplus.help/llms.txt > Use this file to discover all available pages before exploring further. # HCMS: Authenticate and Reuse Token in Requests For this, you’ll need access to both sets of [API (application program interface) documentation](https://content.civicplus.com/api/docs#section/Authentication/civicplus-oauth-auth) and the [credentials for the client](/civicplus-help-center/docs/add-manage-clients) you wish to use for the HCMS integration. You will need to grant the client access to what you want to do with your integration in the Clients tab and your permission sets (or sets) if needed. For example, if you are integrating with content types, you will just need to provide owner access to the App for that client by specifying it on the Client tab; if you want to create content with your integration, you will want to provide the client access to the permission sets in addition to providing it access to the app. ## Instructions 1. You’ll first want to [retrieve your access token](https://content.civicplus.com/api/docs#section/Authentication/civicplus-oauth-auth): ![API request details showing headers and content type for a POST request.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/API-Post-Request-Details-HCMS.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A32%3A22Z&se=2026-11-21T22%3A32%3A22Z&sr=b&sp=r&sig=h%2BWDhthLmLlTVqRqGXE%2B6p4EX1M1Vqvw8hiejRbOC%2FE%3D) 2. Next, you will want to copy the **access_token** to use for authorization for all API requests: ![Postman interface showing token request with highlighted access token and parameters.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/Postman-interface-with-access-token-and-parameters-HCMS.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A32%3A22Z&se=2026-11-21T22%3A32%3A22Z&sr=b&sp=r&sig=TO3%2FqO662kOfQJ%2BMFHGc1rS2TnVxufV9jciOrgMeOlg%3D) 3. Using Postman, you can select the **Authorization** tab and select **Bearer Token** for the type: ![Authorization section showing Bearer Token for API request authentication.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/authorization-section-bearer-token-HCMS.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A32%3A22Z&se=2026-11-21T22%3A32%3A22Z&sr=b&sp=r&sig=aop8%2BjpmJcSaYDMRL8aJ672hVINZCwt5d3zh8r2yEjc%3D) 4. Now you can post to the API. For this example, we will be creating a content item. You can find documentation for this step in your app-specific API documentation: ![JSON data structure showing CivicPlus link and categories for API content.](https://cdn.us.document360.io/17dc564a-8310-4f61-b929-1bd73b36e158/Images/Documentation/JSON-data-structure-for-API-content-hcms.png?sv=2026-02-06&spr=https&st=2026-11-21T21%3A32%3A22Z&se=2026-11-21T22%3A32%3A22Z&sr=b&sp=r&sig=ZxsPni09X4TM42UcgHSXvYKqiumLo8sRhoVy%2Fg1KmN4%3D) > [!WARNING] > **Note**: > > You can retrieve the permission set ID from the permission set screen. If you click the gear icon to edit the permission set, the id will be the last part of the URL. You can also [use the API to get permission sets as documented](https://content.civicplus.com/api/docs#tag/Permission-Sets). If desired, here is the curl request for creating content that you can copy and/or paste: ```plaintext curl --location --request POST 'https://content-sandbox.civicplus.com/api/content/cp-civiccity/link?publish=true' \--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjkxRkRENEVCRDYwNjMxNURFREI4MENEMDkzMERFRkZBMjFEREE2NkIiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJrZjNVNjlZR01WM3R1QXpRa3czdi1pSGRwbXMifQ.eyJuYmYiOjE1OTIzMjU2NTgsImV4cCI6MTU5NDkxNzY1OCwiaXNzIjoiaHR0cHM6Ly9jb250ZW50LXNhbmRib3guY2l2aWNwbHVzLmNvbS9pZGVudGl0eS1zZXJ2ZXIiLCJhdWQiOlsiaHR0cHM6Ly9jb250ZW50LXNhbmRib3guY2l2aWNwbHVzLmNvbS9pZGVudGl0eS1zZXJ2ZXIvcmVzb3VyY2VzIiwiaGNtcy1hcGkiXSwiY2xpZW50X2lkIjoiY3AtY2l2aWNjaXR5OnBvc3RtYW4iLCJzY29wZSI6WyJoY21zLWFwaSJdfQ.jSonghPxUMJlx3v3jiJIcR1yuni-7n5r4-q56vXp6lQsyyPpZ-o6l47QVkclABM8Gp0yNAmcwNR1M93e83T' \--header 'Content-Type: application/json' \--data-raw '{  "data": {    "Link": {      "en": {        "openInNewWindow": true,        "url": "https://civicplus.com",        "displayName": "CivicPlus"      }    }  },  "categories": [    {      "id": "6286922f-b208-492c-8436-f9bb3965ea56"    }  ],  "tags": [    "Civicplus", "Help Center"  ],  "permissionSet": {    "id": "cc6008aa-b2f0-4f34-8b80-52a50d62ded5"  }}' ``` Application. A program that performs a particular task or set of tasks. Application Programming Interface. A set of rules that allows programmers to develop software for a particular operating system without having to be completely familiar with that operating system. Identification or Identifier. Uniform Resource Locator