cURL
curl --request GET \ --url https://{appid}.api-{region}.cometchat.io/v3/users/{uid}/auth_tokens \ --header 'apikey: <api-key>'
{ "data": [ { "uid": "superhero1", "authToken": "superhero1_1630306819c3027ce530b2367f3c97b4106f0cb8", "createdAt": 1630306819 } ], "meta": { "pagination": { "total": 1, "count": 1, "per_page": 100, "current_page": 1, "total_pages": 1 } } }
Lists auth tokens for a user with the specified UID.
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
An UID of a user.
A list of auth tokens
The response is of type object.
object
Was this page helpful?