Retrieves details of the currently logged-in user.
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| page | string | optional | Pass the page number to retrieve records. |
| page_size | string | optional | Pass the number of records to retrieve on each page. |
Headers
| Name | Type | Required | Description |
|---|---|---|---|
| Content-Type | string | optional |
Run it
Use the Request parameters panel to enter path IDs, query values, JSON body, and credentials. Then run any snippet below — all languages use the same values. Base URL: https://cs-testv2.cyware.com/ctixapi (change in API Settings).
Playground
Request parameters
Edit values here before running any snippet below (cURL, JavaScript, or Python). Code blocks are reference only — your inputs above are what gets sent.
Open API (HMAC signature) · Get credentials from Cyware Admin → Open API → Generate Credentials.
Signature and Expires are generated when you run a request. Access ID and Secret Key stay in memory for this tab only.
Credentials from Authentication auto-fill here for this product. If fields are empty after connecting, refresh this page or open the product docs again.
curl --request GET \
--url "https://cs-testv2.cyware.com/ctixapi/rest-auth/user-details/?AccessID=%3Cyour%20access%20id%3E&Signature=%3Cyour%20signature%3E&Expires=%3Cyour%20expires%3E"View-only example — running live API calls requires a role with snippet testing access.
const url = "https://cs-testv2.cyware.com/ctixapi/rest-auth/user-details/?AccessID=%3Cyour%20access%20id%3E&Signature=%3Cyour%20signature%3E&Expires=%3Cyour%20expires%3E";
const response = await fetch(url, {
method: "GET",
headers: {},
});
const text = await response.text();
let data;
try { data = JSON.parse(text); } catch { data = text; }
console.log(response.status, data);View-only example — running live API calls requires a role with snippet testing access.
import requests
url = "https://cs-testv2.cyware.com/ctixapi/rest-auth/user-details/"
params = {
"AccessID": "<your access id>",
"Signature": "<your signature>",
"Expires": "<your expires>"
}
headers = {}
response = requests.request("GET", url, params=params, headers=headers)
print(response.status_code)
print(response.text)View-only example — running live API calls requires a role with snippet testing access.
{
"id": "010f5d90-f510-40e5-82a0-dd90f4546dd2",
"first_name": "John",
"last_name": "Doe",
"email": "johndoe@orgname.com",
"is_active": true,
"contact_number": "",
"country_code": "91",
"user_id": "010f5d90-f510-40e5-82a0-dd90f4546dd2",
"created": 1640011145,
"invited_by": {},
"invite_status": "ACCEPTED",
"email_alerts": false,
"sms_alerts": false,
"groups": [
{}
],
"allowed_tlp": {},
"username": "JohnDoe",
"image_url": "https://zeus.mycyware.com/ctixapi/rest-auth/user-image/?user_image=qc46OT2C5NUbrztXrvSpn0oWeySI5iuK9ofAG0knkI7M5PVrBOdmZj2JXKzqgErTCQ98B63WAgvHFX-Pey4vd2ap8SLm-VtC5nuLf9iljEmy4fk3TtgdZysD60J4Ikpj0kdQtMqsOqIhNDdPomIKXd91Xm6PTGn-B0I0oFTxdmfQI1HBvqQLmska",
"date_joined": 18446744011573955000,
"last_active_session": 1645192604,
"admin_component": [],
"component": [
"dashboard"
],
"permission": [
"delete_third_party"
],
"default_page_size": 100,
"last_login_ip": "3.7.118.226",
"last_login_location": "Seattle, United States"
}View-only example — running live API calls requires a role with snippet testing access.