List Users

GET {{baseUrl}}/apps/:app_id/users?page=<integer>&limit=<integer>&created_before=<integer>&order_by=<string>&identifier=<string>&id=<string>&login_count=<integer>&status=<string>&created_at=<string>&updated_at=<string>&last_login_at=<string>

List users for an app.

Request Params

KeyDatatypeRequiredDescription
pagestringpage to fetch (min=1)
limitstringnumber of users to fetch per page (max=500)
created_beforestringUnix timestamp to anchor pagination results (fetches events that were created before the timestamp)
order_bystringComma separated list of <field>:<ASC/DESC> (example: order_by=id:DESC,created_at:ASC) **cannot order_by identifier
identifierstringsearch users email OR phone (pagination prepended operators identifier=<val>, identifier=<ne:val>, identifier=<gt:val>, identifier=<lt:val>, identifier=<like:val>, identifier=<not_like:val>)
idstringsearch users id (pagination prepended operators id=<val>, id=<ne:val>, id=<gt:val>, id=<lt:val>, id=<like:val>, id=<not_like:val>)
login_countstringsearch users login_count (pagination prepended operators login_count=<val>, login_count=<ne:val>, login_count=<gt:val>, login_count=<lt:val>)
statusstringsearch users by status (pagination prepended operators status=<val>, status=<ne:val>, status=<gt:val>, status=<lt:val>, status=<like:val>, status=<not_like:val>) -- valid values: (active, inactive, pending)
created_atstringsearch users created_at (pagination prepended operators created_at=<val>, created_at=<ne:val>, created_at=<gt:val>, created_at=<lt:val> -- valid timestamp in the format: 2006-01-02T15:04:05.000000Z required
updated_atstringsearch users updated_at (pagination prepended operators updated_at=<val>, updated_at=<ne:val>, updated_at=<gt:val>, updated_at=<lt:val> -- valid timestamp in the format: 2006-01-02T15:04:05.000000Z required
last_login_atstringsearch users last_login_at (pagination prepended operators last_login_at=<val>, lat_login_at=<ne:val>, last_login_at=<gt:val>, last_login_at=<lt:val> -- valid timestamp in the format: 2006-01-02T15:04:05.000000Z required

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;_links&quot;:{&quot;first&quot;:{&quot;href&quot;:&quot;tempor&quot;},&quot;last&quot;:{&quot;href&quot;:&quot;adipisicing&quot;},&quot;next&quot;:{&quot;href&quot;:&quot;nostrud dolor ut&quot;},&quot;previous&quot;:{&quot;href&quot;:&quot;ullamco incididunt consequat sed&quot;},&quot;self&quot;:{&quot;href&quot;:&quot;sint eu mollit&quot;}},&quot;created_before&quot;:-2553994,&quot;limit&quot;:-18400969,&quot;page&quot;:-76035865,&quot;total_users&quot;:90127927,&quot;users&quot;:[{&quot;created_at&quot;:&quot;1979-12-09T22:30:34.642Z&quot;,&quot;email&quot;:&quot;anim adipisicing magna&quot;,&quot;email_verified&quot;:false,&quot;external_id&quot;:&quot;laboris ut eiusmod&quot;,&quot;id&quot;:&quot;in commodo&quot;,&quot;last_login_at&quot;:&quot;2018-01-28T09:22:19.609Z&quot;,&quot;login_count&quot;:65838270,&quot;phone&quot;:&quot;non proident laborum&quot;,&quot;phone_verified&quot;:false,&quot;status&quot;:&quot;inactive&quot;,&quot;updated_at&quot;:&quot;1963-05-30T23:42:40.565Z&quot;,&quot;user_metadata&quot;:{}},{&quot;created_at&quot;:&quot;1970-12-18T04:49:22.065Z&quot;,&quot;email&quot;:&quot;laborum est&quot;,&quot;email_verified&quot;:false,&quot;external_id&quot;:&quot;dolor&quot;,&quot;id&quot;:&quot;adipisicing eiusmod incididunt in cupidatat&quot;,&quot;last_login_at&quot;:&quot;1947-04-10T07:53:53.527Z&quot;,&quot;login_count&quot;:-26109592,&quot;phone&quot;:&quot;ut&quot;,&quot;phone_verified&quot;:true,&quot;status&quot;:&quot;active&quot;,&quot;updated_at&quot;:&quot;1960-08-10T17:06:19.167Z&quot;,&quot;user_metadata&quot;:{}}]}