---
title: "GET /sessions/{id}"
method: GET
path: "/sessions/{id}"
tags: ["sessions"]
---

# GET /sessions/{id}

`GET /sessions/{id}`

Retrieves a single resource with the given id from the service.

## Path parameters

- `id` integer, required

## Response `200`

success

- Sessions — A session contains authentication information for a user or an API key
  - `type` string, required — The type of session ("api-key" or "email")
  - `key` string, required — The key used for authentication (either an email address or an API key)
  - `access_token` string — The access token to use when making API calls with this session

## Other responses

- `401` — not authenticated
- `404` — not found
- `500` — general error

---

[API](https://skmtc.net/didomi/apis/didomi-api.md) · [All operations](https://skmtc.net/didomi/apis/didomi-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/didomi/didomi-api/revisions/c82339816c36/schema)
