Authentication
Get Session
REST API
- Overview
- Limits
- Errors
- GETGet Account Settings
- Authentication
- Users
- Chat
- Content
- Push Notifications
- Custom Objects
- Address Book
- AI
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"
}
}
Headers
A user or application session token. See our Authentication page to learn more about session tokens.
Responses
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"
}
}
Was this page helpful?
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"
}
}