Skip to main content
POST
/
api
/
v1
/
users
/
{custom_user_id}
/
sessions
Create Session
curl --request POST \
  --url https://api.recallrai.com/api/v1/users/{custom_user_id}/sessions \
  --header 'Content-Type: application/json' \
  --header 'X-Recallr-Api-Key: <x-recallr-api-key>' \
  --header 'X-Recallr-Project-Id: <x-recallr-project-id>' \
  --data '
{
  "auto_process_after_seconds": 600,
  "metadata": {},
  "custom_created_at_utc": "2023-11-07T05:31:56Z"
}
'
{
  "session": {
    "session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "status": "pending",
    "created_at": "2023-11-07T05:31:56Z",
    "metadata": {}
  }
}

Headers

X-Recallr-Project-Id
string<uuid>
required
X-Recallr-Api-Key
string
required

Path Parameters

custom_user_id
string
required

Body

application/json
auto_process_after_seconds
integer
default:600
Required range: x >= 600
metadata
Optional metadata for the session · object
custom_created_at_utc
string<date-time> | null

Response

Session created successfully

session
SessionInfo · object
required