cURL
curl --request GET \ --url http://localhost:3000/v1/session/phone/{phone} \ --header 'X-Bunker-Token: <api-key>'
{ "status": "ok", "sessions": [ { "session": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "when": 123, "data": {} } ] }
Returns all session records for a user identified by phone
Root access token for Databunker API
User phone number
Sessions retrieved successfully
ok
"ok"
Show child attributes
Unix timestamp