---
title: "Create user session (log in)"
method: POST
path: "/sessions"
tags: ["sessions", "Sessions"]
---

# Create user session (log in)

`POST /sessions`

Create user session (log in)

## Response `201`

The Sessions object.

- SessionEntity — SessionEntity model
  - `id` string — Session ID
  - `language` string — Session language
  - `read_only` boolean — Is this session read only?
  - `sftp_insecure_ciphers` boolean — Are insecure SFTP ciphers allowed for this user? (If this is set to true, the site administrator has signaled that it is ok to use less secure SSH ciphers for this user.)

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `405` — Method Not Allowed
- `409` — Conflict
- `412` — Precondition Failed
- `422` — Unprocessable Entity
- `423` — Locked
- `429` — Too Many Requests

---

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