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"
}Creates a new pathway with the provided name and description
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"
}API Key for authentication