List users
const url = 'https://user.userguiding.com/public/user?search_after=&page_size=100';const options = {method: 'GET', headers: {'UG-API-KEY': '<UG-API-KEY>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://user.userguiding.com/public/user?search_after=&page_size=100' \ --header 'UG-API-KEY: <UG-API-KEY>'Returns your users page by page, ordered by user ID. Each user has the same fields as in Get user.
To get the next page, send the search_after value from the response. You have reached the end when users comes back empty.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Cursor from the search_after field of the previous response. Leave it out for the first page.
Number of users per page. Defaults to 100, up to 1,000.
Responses
Section titled “Responses”A page of users.
object
Users of the requested page.
object
Your UserGuiding account ID.
Your own ID for the user.
When the user was created in UserGuiding.
Whether the user is anonymous, such as a Knowledge Base or Product Updates visitor you never identified.
Number of sessions the user has started in your app.
Custom attributes you sent through the SDK, this API or an integration.
object
IDs of the guides the user started.
IDs of the guides the user completed.
IDs of the hotspots the user interacted with.
IDs of the checklist items whose link the user clicked.
IDs of the hotspots the user dismissed.
IDs of the checklists the user completed.
IDs of the guides the user closed before finishing.
IDs of the checklists the user dismissed.
IDs of the banners the user saw.
IDs of the banners the user dismissed.
IDs of the user groups the user belongs to.
When the user last saw each survey.
object
ID of the guide, hotspot, banner or survey.
When it last happened.
When the user last started each guide.
object
ID of the guide, hotspot, banner or survey.
When it last happened.
When the user last saw each banner.
object
ID of the guide, hotspot, banner or survey.
When it last happened.
When the user last interacted with each hotspot.
object
ID of the guide, hotspot, banner or survey.
When it last happened.
How many times the user started each guide.
object
ID of the guide, banner or survey.
How many times it showed to the user.
How many times the user saw each survey.
object
ID of the guide, banner or survey.
How many times it showed to the user.
How many times the user saw each banner.
object
ID of the guide, banner or survey.
How many times it showed to the user.
The user’s survey answers, one item per question.
object
ID of the survey.
ID of the question.
When the user answered.
Count and first and last time of each custom event the user triggered.
object
When the user last triggered the event.
When the user first triggered the event.
How many times the user triggered the event.
Event name.
Goals the user reached, and when.
object
ID of the goal.
When the user reached the goal.
Whether your project had reached its AI Assistant message limit when the SDK last identified the user.
IDs of the hotspot buttons the user clicked.
IDs of the guide buttons the user clicked.
IDs of the banner buttons the user clicked.
Whether the user has started a conversation with the AI Assistant.
IDs of the Resource Centers the user interacted with.
Resource Center tabs the user opened.
object
The tab the user opened.
ID of the Resource Center.
IDs of the Resource Center content items the user opened.
IDs of the Product Updates posts the user viewed.
IDs of the Knowledge Base articles the user viewed.
IDs of the feature requests the user voted for on your roadmap.
object
Your own ID for the company.
Your UserGuiding account ID.
Custom attributes of the company.
object
When the company was created in UserGuiding.
Id of the last user on this page. Pass it as search_after on the next request. The page is the last one when users is empty.
Example
{ "search_after": "10931", "users": [ { "ab_test_attributes": {}, "account_id": "4821", "ai_assistant_conversation_started": false, "ai_message_limit_exceeded": false, "attributes": { "name": "Jamie Rivera", "plan": "growth", "signed_up_at": "2026-06-02" }, "banner_button_click": [], "banner_dismiss": [], "banner_interaction_times": [], "banner_seen": [ "887" ], "banner_triggers_count": [], "browser_language": "en-US", "browser_name": "Chrome", "browser_version": "141.0.0", "checklist_complete": [ "3310" ], "checklist_dismiss": [], "checklist_url_click": [], "company": { "account_id": "4821", "company_ab_test_attributes": {}, "company_attributes": { "plan": "growth", "seats": 40 }, "company_id": "acme-inc", "company_name": "Acme Inc", "created": "2026-06-02T09:14:03Z", "first_seen": "2026-06-02T09:14:03Z", "last_seen": "2026-09-09T18:27:21Z", "members_ids": [], "project_id": "4821", "source": "sdk" }, "company_id": "acme-inc", "country": "TR", "created": "2026-06-02T09:14:03Z", "device_model": "", "device_type": "desktop", "device_vendor": "", "events_summary": [ { "count": 1, "first_occurred": "2026-06-02T09:15:41Z", "last_occurred": "2026-06-02T09:15:41Z", "name": "signed_up" } ], "first_seen": "2026-06-02T09:14:03Z", "goal_reached_times": [ { "goal_id": 74, "goal_reached_at": "2026-07-03T16:05:00Z" } ], "group_ids": [ "beta-testers" ], "guide_button_click": [], "guide_interaction_times": [ { "material_id": "12045", "time": "2026-09-01T10:22:15Z" } ], "guide_triggers_count": [ { "count": 2, "material_id": "12045" } ], "hotspot_button_click": [], "hotspot_dismiss": [], "hotspot_interact": [], "hotspot_interaction_times": [], "interacted_resource_centers": [], "is_anonymous": false, "kb_viewed_articles": [ "9921" ], "last_product_updates_interacted": "2026-08-21T11:02:44Z", "last_seen": "2026-09-09T18:27:21Z", "os_name": "Mac OS", "os_version": "15.5", "preview_complete": [ "12045" ], "preview_dismiss": [], "preview_start": [ "12045", "12088" ], "project_id": "4821", "pu_viewed_posts": [], "rc_viewed_rich_contents": [], "rc_viewed_tabs": [], "source": "sdk", "survey_feedback": "Onboarding was clear.", "survey_interaction_times": [], "survey_responses": [ { "created": "2026-08-14T13:40:09Z", "question_id": "1", "score": 9, "survey_id": "551" } ], "survey_score": 9, "survey_triggers_count": [], "user_id": "10931", "voted_feature_requests": [], "web_session": 37 } ]}The request is invalid. detail lists each problem.
object
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}Your project used up its rate limit: bursts of up to 2,000 requests, refilled at 20 requests per second.
Headers
Section titled “Headers”Seconds to wait before sending another request.