> For the complete documentation index, see [llms.txt](https://help.citrusad.com/retail-media-interface/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.citrusad.com/retail-media-interface/partner/partner-api-authentication/authenticating-requests.md).

# Authentication requests

Epsilon Retail Media uses the User Key method for authenticating API requests. You can also retrieve the User Key through the [Retrieve user key](/retail-media-interface/partner/partner-api-authentication/getuserkey.md) API, which serves as an alternate method to obtain the User Key from user settings. The Retrieve user key API allows partners to generate an authentication key by providing a valid username and password.

## User key

In the Epsilon Retail Media platform, advertisers can find their user key in the **User Settings** section. This key is unique to a **user** level, and can be integrated into your application to manage authentication with the Epsilon Retail Media system.

<figure><img src="https://110176934-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyPijakfWdNW5OjxjMGoY%2Fuploads%2Fgit-blob-79e88bc374f562fff00d476665de044ec39bd48f%2Fuserkey1.png?alt=media" alt="" width="100%"><figcaption></figcaption></figure>

{% hint style="warning" %}
This user key is not representative of a team, and should not be treated as such.
{% endhint %}

### Authentication flow diagram

<figure><img src="https://110176934-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyPijakfWdNW5OjxjMGoY%2Fuploads%2Fgit-blob-509f551aa6558cf3a766eb2463ee7ff223534532%2FUser_key_flow.png?alt=media" alt="User key flow.png" width="100%"><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.citrusad.com/retail-media-interface/partner/partner-api-authentication/authenticating-requests.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
