---
title: "Create Customer Session"
method: POST
path: "/customers/sessions"
---

# Create Customer Session

`POST /customers/sessions`

## Request body

- object
  - `account_id` string, required — The unique identifier of the account. You find this information on [the Yuno dashboard](https://dashboard.y.uno/) (UUID, 36 chars).
  - `country` 'AR' | 'BO' | 'BR' | 'CL' | 'CO' | 'CR' | 'EC' | 'SV' | 'GT' | 'HN' | 'MX' | 'NI' | 'PA' | 'PY' | 'PE' | 'US' | 'UY', required — The customer's country (MAX 2; MIN 2; [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
  - `customer_id` string, required — The unique identifier of the customer, created using the [Create Customer](https://docs.y.uno/reference/create-customer) endpoint (UUID, 36 chars).
  - `callback_url` string — The url to redirect your customer after the enrollment is made in the provider's environment (MAX 526; MIN 3).
  - `checkout_id` string — The unique identifier (UUID) of the Custom Checkout to use for this enrollment session. Optional. When omitted, the session uses the account's default checkout.

## Response `201`

201

- object
  - `customer_session` string
  - `customer_id` string
  - `country` string
  - `callback_url` string
  - `created_at` string
  - `checkout_id` string

## Other responses

- `400` — 400
- `401` — 401
- `403` — 403

---

[API](https://skmtc.net/y/apis/ai-caller.md) · [All operations](https://skmtc.net/y/apis/ai-caller/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/y/ai-caller/revisions/05b629819b49/schema)
