--- title: "Authorization" slug: "authorization" updated: 2026-11-17T01:26:36Z published: 2026-11-17T01:26:36Z canonical: "usercentrics.com/authorization" --- > ## Documentation Index > Fetch the complete documentation index at: https://usercentrics.com/docs/llms.txt > Use this file to discover all available pages before exploring further. # Authorization Before sending any requests to the Usercentrics Partner API you need to authenticate the user account you are interacting with. For this, you will need a *secret Partner-API token* (received from Usercentrics’ Support) and a unique identifier for the user (best practice: The format should explicitly be an EMAIL String). To request a Partner API token, contact Usercentrics Support. The API will return a new unique *User-Token*. You need to provide **this token** as an HTTP authorization header for all API calls that you are going to make on behalf of this user. *User-Token*s are valid for 8 hours. > **Security Notice** Your secret Partner-API token should always be kept private! Anyone owning that token can authenticate user accounts against the Usercentrics API under your identity. **Example Request** ```plaintext query {  authenticate(apiToken: "secret-api-token", user: "user@company.org") } ``` **Example Response** ```plaintext {  "data": {    "authenticate": "Bearer RXhhbXBsZSBUb2tlbgo..."  } } ``` **Example Request HTTP headers** ```plaintext POST /graphql HTTP/1.1 Host: partner.usercentrics-sandbox.eu Connection: keep-alive Content-Length: 111 accept: */* Origin: https://partner.usercentrics-sandbox.eu authorization: Bearer RXhhbXBsZSBUb2tlbgo… [...] ``` **Example Request in the playground** ![usercentrics](https://cdn.document360.io/17f91ed2-e9be-4746-9f2b-1fa43f97e9b5/Images/Documentation/playgroundAuthExample.png?sv=2026-02-06&spr=https&st=2026-11-19T07%3A55%3A33Z&se=2026-11-19T08%3A55%3A33Z&sr=b&sp=r&sig=%2FfDIJE%2BF9YCtsyPkNGjaUWs51srukxwhKRW7QueXWio%3D)