curl -X GET \
-H "QB-Token: 8b75a6c7191285499d890a81df4ee7fe49bc732a" \
https://api.quickblox.com/session.json
{
"session": {
"application_id": 76730,
"created_at": "2019-08-26T20:09:22+00:00",
"id": 1148462029,
"nonce": 4214,
"token": "8b75a6c7191285499d890a81df4ee7fe49bc732a",
"ts": 1566850162,
"updated_at": "2019-08-26T20:09:22+00:00",
"user_id": 91105670,
"_id": "1148462029"
}
}
{
"errors": {
"base": [
"Required session does not exist"
]
}
}
Authentication
Get Session
Gets information about a current session.
GET
/
session.json
curl -X GET \
-H "QB-Token: 8b75a6c7191285499d890a81df4ee7fe49bc732a" \
https://api.quickblox.com/session.json
{
"session": {
"application_id": 76730,
"created_at": "2019-08-26T20:09:22+00:00",
"id": 1148462029,
"nonce": 4214,
"token": "8b75a6c7191285499d890a81df4ee7fe49bc732a",
"ts": 1566850162,
"updated_at": "2019-08-26T20:09:22+00:00",
"user_id": 91105670,
"_id": "1148462029"
}
}
{
"errors": {
"base": [
"Required session does not exist"
]
}
}
Headers
string
required
A user or application session token. See Authentication page to learn more about session tokens.
Responses
200
200
curl -X GET \
-H "QB-Token: 8b75a6c7191285499d890a81df4ee7fe49bc732a" \
https://api.quickblox.com/session.json
{
"session": {
"application_id": 76730,
"created_at": "2019-08-26T20:09:22+00:00",
"id": 1148462029,
"nonce": 4214,
"token": "8b75a6c7191285499d890a81df4ee7fe49bc732a",
"ts": 1566850162,
"updated_at": "2019-08-26T20:09:22+00:00",
"user_id": 91105670,
"_id": "1148462029"
}
}
{
"errors": {
"base": [
"Required session does not exist"
]
}
}
Was this page helpful?
⌘I