Skip to main content
POST
/
v1
/
projects
/
{projectId}
/
sessions
Create session
curl --request POST \
  --url https://api.pathors.com/v1/projects/{projectId}/sessions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "session_id": "<string>",
  "variables": {},
  "provider": "<string>"
}
'
{
  "sessionId": "<string>",
  "projectId": "<string>"
}

Authorizations

Authorization
string
header
required

Developer key created from the dashboard (Settings → Developer Keys)

Path Parameters

projectId
string
required

The ID of your project

Body

application/json
session_id
string
required
variables
object
provider
string

Response

OK

sessionId
string
required
projectId
string
required