Skip to main content
POST
/
api
/
v1
/
auth
/
sessions
Create API session token
curl --request POST \
  --url https://staging.app.yofacturo.es/api/v1/auth/sessions \
  --header 'Content-Type: application/json' \
  --data '
{
  "api_key": "org_live_1234567890abcdef"
}
'
{
  "session_token": "H2sY0Qw_example_8eA",
  "expires_at": "2026-03-27T10:30:00Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.yofacturo.es/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
api_key
string
required
Minimum string length: 1

Response

Session token created

session_token
string
required
expires_at
string<date-time>
required