For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get a user

Returns a single user by identifier, including inactive and guest users.

get
/user_search/{id}/
Authorizations
AuthorizationstringRequired

Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.

Path parameters
idintegerRequired

The unique identifier of the user.

Responses
200

The requested user.

application/json

A user's profile and communication permissions.

pkintegerOptional

Unique identifier of the user.

usernamestringOptional

Username of the user.

first_namestringOptional

First name of the user.

last_namestringOptional

Last name of the user.

emailstringOptional

Email of the user; empty string when not set.

is_activebooleanOptional

Whether the account is active.

date_joinedstring · date-timeOptional

When the user registered.

last_loginstring · nullableOptional

When the user last logged in; null when the user never has.

email_allowedbooleanOptional

Whether the user has opted in to email communication.

sms_allowedbooleanOptional

Whether the user has opted in to SMS communication.

whatsapp_allowedboolean · nullableOptional

Whether the user has opted in to WhatsApp communication; null when never set.

call_allowedboolean · nullableOptional

Whether the user has opted in to phone call communication; null when never set.

genderstring · enum · nullableOptional

The gender of the user.

Possible values:
phonestring · nullableOptional

Phone number of the user.

date_of_birthstring · nullableOptional

Date of birth of the user.

user_typestring · enum · nullableOptional

The type of the user account.

ValueDescription
registeredA user who created an account.
guestAn account created automatically for a customer who placed an order without registering.
Possible values:
modified_datestring · nullableOptional

When the user record was last modified.

get/user_search/{id}/
GET /api/v1/remote/1/user_search/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "pk": 1001,
  "username": "jane.doe@example.com",
  "first_name": "Jane",
  "last_name": "Doe",
  "email": "jane.doe@example.com",
  "is_active": true,
  "date_joined": "2024-01-10T09:28:55.952093Z",
  "last_login": "2026-03-02T14:05:11.120394Z",
  "email_allowed": true,
  "sms_allowed": false,
  "whatsapp_allowed": null,
  "call_allowed": null,
  "gender": "female",
  "attributes": {},
  "phone": "+905551112233",
  "date_of_birth": "1990-05-17",
  "attributes_kwargs": {},
  "user_type": "registered",
  "modified_date": "2026-03-02T14:05:11.120394Z"
}

Last updated

Was this helpful?