Skip to main content
POST
/
v1
/
interactives
/
practice
/
create
Create Practice
curl --request POST \
  --url https://api.opennote.com/v1/interactives/practice/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "set_description": "<string>",
  "count": 5,
  "set_name": "<string>",
  "search_for_problems": false,
  "webhook_url": "<string>"
}'
{
  "success": true,
  "message": "<string>",
  "set_id": "<string>",
  "timestamp": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
set_description
string
required

The description of the practice problem set

count
integer
default:5

The number of practice problems to create

Required range: 1 <= x <= 15
set_name
string | null

The name of the practice problem set. One will be generated for you at additional cost if you do not provide one.

search_for_problems
boolean
default:false

Whether to search the web for additional context to help with the practice problem set, at additional cost.

webhook_url
string | null

The webhook URL to send the practice problem set creation status to.

Response

Successful Response

success
boolean
required
timestamp
string
required
message
string | null
set_id
string | null
I