> 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/team-user-api/user-1.md).

# User

## Overview

Users are individuals who belong to teams and can perform various actions within the Epsilon Retail Media system based on their permissions and roles.

### What is a User ID?

A User ID is a unique identifier for each user in the Epsilon Retail Media system. It is required in API requests to identify and manage specific users, such as updating user details, modifying permissions, or retrieving user information.

### Finding your User ID

To use the User API, you'll need your User ID. This identifies the specific user in API requests. You can find it by:

1. Log in to your Citrus Client.
2. Click the profile dropdown and select **User Profile**.
3. The User ID is displayed in the user profile section.

<figure><img src="/files/0qklI5USO96uJSH59GYV" alt="" width="100%"><figcaption></figcaption></figure>

### User elements

Each user includes the following key elements:

| Element           | Description                                           |
| ----------------- | ----------------------------------------------------- |
| User ID           | A unique identifier for the user.                     |
| Email             | The user's email address for login and notifications. |
| First name        | The user's first name.                                |
| Last name         | The user's last name.                                 |
| Logo ID           | Unique identifier of the user's profile image.        |
| Team memberships  | List of teams the user belongs to.                    |
| Permissions       | User's access level and permissions within teams.     |
| Invitation status | Status of pending team invitations.                   |

### User API Field Definitions

The following are key user fields commonly used in API requests and responses:

| Field Name         | Description                                                                                                                                                        |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| id                 | Unique identifier of the user.                                                                                                                                     |
| email              | Email ID of the user.                                                                                                                                              |
| namespace          | Namespace the user belongs to.                                                                                                                                     |
| firstName          | First name of the user.                                                                                                                                            |
| lastName           | Last name of the user.                                                                                                                                             |
| logoUrl            | URL to user's profile picture or logo. You can retrieve the logoUrl using [Retrieve file URL](/retail-media-interface/partner/team-user-api/user-1/getfileurl.md). |
| teamIds            | List of the user's team IDs.                                                                                                                                       |
| receivedInvitation | Details of pending invitations.                                                                                                                                    |
| inviteTeam         | Root object for the invitation payload.                                                                                                                            |
| managerTeamId      | Unique ID of the retailer team managing access and sending invites. Example: manager-team-123.                                                                     |
| roleIds            | Array of the user's permission strings.                                                                                                                            |
| teamId             | ID of the team for user invitation.                                                                                                                                |
| retailerTeamId     | Unique ID of the retailer-managed group.                                                                                                                           |
| offset             | Number of records to skip before fetching results.                                                                                                                 |

### Available endpoints

| Endpoint                                                                                | Description                                                                                                                                                                                                                                                     |
| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Invite a user to the team](/retail-media-interface/partner/team-user-api/user-1.md)    | Sends email invitation to join a specified team. Requires team ID and user email address.                                                                                                                                                                       |
| [Retrieve current user detail](/retail-media-interface/partner/team-user-api/user-1.md) | <p>Retrieves the profile information of the signed-in user, including:<br>-User ID, email, first name, last name, and<br>-Pending team invitations with sender details.<br>Use this endpoint to view details of the currently signed-in user.</p>               |
| [Retrieve user details](/retail-media-interface/partner/team-user-api/user-1.md)        | <p>Retrieves information about other users in the team or a specific user by user ID.<br>Requires appropriate access (retailer or admin) within the namespace, and the user must be part of the team. This endpoint is used for team-level user management.</p> |
| [Update current user detail](/retail-media-interface/partner/team-user-api/user-1.md)   | Modifies the signed-in user's first name, last name, and logo file ID. This endpoint does not support updating details of other users.                                                                                                                          |
| [Remove a user](/retail-media-interface/partner/team-user-api/user-1.md)                | Removes a user from a team (requires appropriate permissions).                                                                                                                                                                                                  |
| [Modify user permission](/retail-media-interface/partner/team-user-api/user-1.md)       | <p>Updates user permissions by user ID and team ID.<br><strong>Permission types</strong>:<br>-Retailer (Full or Report View)<br>-Supplier (Full or Report View).<br><strong>Note</strong>: Retailer and supplier roles cannot be combined.</p>                  |
| [Upload a file](/retail-media-interface/partner/team-user-api/user-1.md)                | Uploads logos for user profiles and teams.                                                                                                                                                                                                                      |
| [Retrieve file URL](/retail-media-interface/partner/team-user-api/user-1.md)            | <p>Generates temporary download URL for uploaded files using file ID.<br><strong>Note</strong>: The URLs are valid for only 3600 seconds.</p>                                                                                                                   |

For common questions and troubleshooting tips, see [Frequently asked questions](/retail-media-interface/partner/partner-api-overview/frequently-asked-questions.md#team-and-user).


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.citrusad.com/retail-media-interface/partner/team-user-api/user-1.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
