> ## Documentation Index
> Fetch the complete documentation index at: https://docs.quickblox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Session

> Gets information about a current session.

#### Headers

<ParamField header="QB-Token" type="string" required> A user or application session token. See [Authentication](/reference/authentication) page to learn more about session tokens. </ParamField>

#### Responses

<AccordionGroup>
  <Accordion title="200">
    A successful response

    <ResponseField name="session" type="object">
      <Expandable title="Properties">
        <ResponseField name="application_id" type="integer" />

        <ResponseField name="created_at" type="string" />

        <ResponseField name="id" type="integer" />

        <ResponseField name="nonce" type="integer" />

        <ResponseField name="token" type="string" />

        <ResponseField name="ts" type="integer" />

        <ResponseField name="updated_at" type="string" />

        <ResponseField name="user_id" type="integer" />

        <ResponseField name="_id" type="string" />
      </Expandable>
    </ResponseField>
  </Accordion>

  <Accordion title="401">
    An error response

    <ResponseField name="errors" type="object">
      <Expandable title="properties">
        <ResponseField name="base" type="array of strings" />
      </Expandable>
    </ResponseField>
  </Accordion>
</AccordionGroup>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET \
  -H "QB-Token: 8b75a6c7191285499d890a81df4ee7fe49bc732a" \
  https://api.quickblox.com/session.json
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "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"
    }
  }
  ```

  ```json 401 theme={null}
  {
    "errors": {
      "base": [
        "Required session does not exist"
      ]
    }
  }
  ```
</ResponseExample>
