---
title: "Create Session"
method: POST
path: "/keywords/sessions"
tags: ["keywords"]
---

# Create Session

`POST /keywords/sessions`

## Request

- Base URL: `https://api.xeorank.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xeorank.com/keywords/sessions`
- Auth: API key in header `X-Agent-Key`

Create a new keyword research session.

Checks the ``keyword_sessions.monthly`` billing cap.

## Query parameters

- `email` string, nullable

## Request body

- CreateSessionRequest
  - `site_id` string, nullable
  - `title` string, nullable
  - `topic` string, nullable
  - `country` string, nullable
  - `language` string, nullable

## Response `201`

Successful Response

- KeywordSessionOut
  - `id` string, required
  - `site_id` string, nullable
  - `title` string, nullable
  - `status` string, required
  - `created_at` unknown, required
  - `updated_at` unknown, required
  - `message_count` integer

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xeorank/apis/seo-intelligence-engine.md) · [All operations](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/revisions/449a3fd73454?raw)
