Skip to main content
POST
/
agency
/
pathway
Create new pathway
curl --request POST \
  --url https://api.cleartalk.ai/agency/pathway \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "name": "Pathway Name",
  "description": "Pathway Description",
  "pathwayId": "Pathway ID",
  "userId": "User ID"
}
'
{
  "success": true,
  "redirect": "/pathway/1"
}

Authorizations

x-api-key
string
header
required

API Key for authentication

Body

application/json
name
string
required
Example:

"Pathway Name"

description
string
required
Example:

"Pathway Description"

pathwayId
string
required
Example:

"Pathway ID"

userId
string
required
Example:

"User ID"

Response

Pathway created successfully

success
boolean
required
Example:

true

redirect
string
required
Example:

"/pathway/1"