API reference
V1Instructions

Create Instruction

Create a new instruction

POST
/api/v1/instructions

Create a new instruction

Authorization

access_token
Authorization<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v1/instructions" \  -H "Content-Type: application/json" \  -d '{    "title": "New Instruction",    "content": "my content..."  }'
{  "message": "string",  "status": "string",  "data": {    "id": "1ja0n2shds",    "title": "Instruction Title",    "content": "Instruction content...",    "created_at": "string",    "updated_at": "string"  }}