Skip to main content
GET
/
v1
/
session
/
session
/
{session}
Get session data
curl --request GET \
  --url http://localhost:3000/v1/session/session/{session} \
  --header 'X-Bunker-Token: <api-key>'
{
  "status": "ok",
  "session": "7a77ffad-2010-4e47-abbe-bcd04509f784",
  "when": 1576526253,
  "data": {
    "clientip": "1.1.1.1",
    "info": "email",
    "x-forwarded-for": "2.2.2.2"
  }
}

Authorizations

X-Bunker-Token
string
header
required

Root access token for Databunker API

Path Parameters

session
string<uuid>
required

Session token

Response

Session retrieved successfully

status
enum<string>
required
Available options:
ok
Example:

"ok"

session
string<uuid>
when
integer<int64>

Unix timestamp

data
object