# Get a session

`GET /api/v1/sessions/{sessionId}`

Returns a session in the selected organization, visible to every member of it. The organization is chosen by the X-Organization-Id header, or the organization the API key is bound to, otherwise the caller's default organization.

**Path parameters**

| Name        | Type   | Required | Description  |
| ----------- | ------ | -------- | ------------ |
| `sessionId` | string | yes      | Session UUID |

**Header parameters**

| Name                | Type    | Required | Description                                                                                                               |
| ------------------- | ------- | -------- | ------------------------------------------------------------------------------------------------------------------------- |
| `X-Organization-Id` | integer | no       | Selects which of the caller's organizations the request acts on. When omitted, the caller's default organization is used. |

**Example request**

```
curl https://api.mobilenexthq.com/api/v1/sessions/{sessionId} \

  -X GET \

  -H 'Authorization: Bearer mob_...'
```

**Responses**

**200** — Session detail

```
{

  "sessionId": "string",

  "organizationId": 0,

  "userId": "string",

  "device": {

    "deviceId": "string",

    "platform": "ios",

    "type": "string",

    "name": "string",

    "osVersion": "string"

  },

  "createdAt": "2026-01-01T00:00:00Z",

  "releasedAt": "2026-01-01T00:00:00Z"

}
```

**401** — Missing or invalid Bearer token

```
{

  "error": {

    "code": "string",

    "message": "string"

  }

}
```

**403** — Caller lacks permission for this action (e.g. not an admin)

```
{

  "error": {

    "code": "string",

    "message": "string"

  }

}
```

**404** — Resource not found

```
{

  "error": {

    "code": "string",

    "message": "string"

  }

}
```
