Skip to main content
GET
Retrieves a script with its agent settings and its full task list, ordered by order. Each task is one section of the interview. A script made with Create Script starts with the five Basic Interview tasks shown below. needed_variables lists what a task reads. Only tasks whose needed_variables include task.questions ask the questions you set. The agent-settings fields (initial_text_message, completed_text_message and the others) are null when the script uses the default.

Authorizations

X-API-KEY
string
header
required

Your Classet API key. Create and rotate keys in Settings → API.

Path Parameters

scriptId
string
required

The ID of the script to retrieve.

Response

Script details

data
object
required

Script with tasks and agent settings