The End Users endpoint allows you to manage the individuals who interact with your organization via AnswerPal. End Users can be customers, employees, or any party whose tickets, chats, emails, or calls you want to track and automate. This endpoint supports creating, retrieving, updating, searching, and deleting end user records, as well as managing their unique identifiers (UIDs) such as email addresses or phone numbers.
End Users are the core entities representing people who interact with your support, sales, or internal helpdesk channels. Each End User can have multiple unique identifiers (UIDs), such as email addresses, phone numbers, or external system IDs, allowing for flexible matching and merging across different communication channels. This API lets you create, update, search, assign UIDs, and fetch ticket history for end users.
Returns a paginated list of all end users for your organization. Supports search, sorting, and pagination. Query Parameters:
Retrieves a single End User by their unique ID. Path Parameter:
Retrieves all End Users associated with a given UID (email, phone, etc.). Query Parameter:
Creates a new End User. Request Body: EndUserCreateDTO Response: EndUserReadDTO
Updates an existing End User and their UIDs. Path Parameter:
Deletes an End User by ID. Path Parameter:
Assigns a new UID (email, phone, etc.) to an existing End User. Request Body: AssignUIDRequest Response: Object with new UID assignment
Returns a paginated list of tickets associated with a given End User. Path Parameter:
id (int): The unique End User ID Response: PaginatedResult<TicketReadDTO>
Property | Type | Description |
---|---|---|
EndUserID | int | Unique identifier for the End User. |
CustomerID | int | The owning customer/organization ID. |
FirstName | string | First name of the End User. |
LastName | string | Last name of the End User. |
DisplayName | string | Display name (may be auto-generated from first/last name). |
string | Primary email address. | |
Phone | string | Primary phone number. |
CustomerRef | string | External reference or customer number, if available. |
Notes | string | Free-text notes about the user. |
UIDs | EndUserUIDReadDTO[] | List of unique identifiers (see below for properties). |
DateCreated | DateTime | Date/time when the user was created (ISO 8601). |
LastModified | DateTime | Date/time of last modification (ISO 8601). |
Property | Type | Description |
---|---|---|
EndUserUIDID | int | Unique identifier for this UID entry. |
UID | string | The unique identifier value (email, phone, external ID, etc.) |
UIDType | string | Type of UID (“Email”, “Phone”, “External”, etc.) |
IsPrimary | bool | Whether this UID is the user’s primary UID. |
Property | Type | Required | Description |
---|---|---|---|
FirstName | string | Yes | First name of the End User. |
LastName | string | Yes | Last name of the End User. |
DisplayName | string | No | Display name (optional; if not provided, auto-generated). |
string | No | Primary email address (optional, can also be set via UIDs). | |
Phone | string | No | Primary phone number (optional, can also be set via UIDs). |
CustomerRef | string | No | External reference or customer number. |
Notes | string | No | Free-text notes about the user. |
UIDs | EndUserUIDCreateDTO[] | No | List of UIDs to assign on creation. |
Property | Type | Required | Description |
---|---|---|---|
UID | string | Yes | The unique identifier value (email, phone, external ID, etc.) |
UIDType | string | No | Type of UID (“Email”, “Phone”, “External”, etc.). Defaults to “Email”. |
IsPrimary | bool | No | Whether this UID is the user’s primary UID. |
Property | Type | Required | Description |
---|---|---|---|
FirstName | string | No | First name of the End User. |
LastName | string | No | Last name of the End User. |
DisplayName | string | No | Display name. |
string | No | Primary email address. | |
Phone | string | No | Primary phone number. |
CustomerRef | string | No | External reference or customer number. |
Notes | string | No | Free-text notes about the user. |
UIDs | EndUserUIDUpdateDTO[] | No | List of UIDs to update, add, or remove. |
Property | Type | Required | Description |
---|---|---|---|
EndUserUIDID | int? | No | Existing UID ID (omit for new UID entries). |
UID | string | Yes | The unique identifier value (email, phone, external ID, etc.) |
UIDType | string | No | Type of UID (“Email”, “Phone”, “External”, etc.). |
IsPrimary | bool | No | Whether this UID is the user’s primary UID. |
MarkAsDeleted | bool | No | If true, this UID will be deleted. |
Property | Type | Required | Description |
---|---|---|---|
UID | string | Yes | The unique identifier value (email, phone, etc.) |
EndUserID | int | Yes | The End User to assign this UID to |
UIDType | string | No | Type of UID (“Email”, “Phone”, etc.). Defaults to “Email”. |
IsPrimary | bool | No | Whether this UID is the user’s primary UID. |
Yes, use the UIDs array to assign multiple identifiers to an End User.
Use EndUserUIDUpdateDTO with MarkAsDeleted: true for the desired UID.
Use GET /api/EndUsers/byUid?uid={email}.
The API will not duplicate UIDs; it will only link unique UIDs per End User.
AnswerPal: AI-powered customer service solutions to elevate your support and communication effortlessly.
For all support, sales, and partnership inquiries, email us at info@answerpal.eu