cURL
curl --request POST \ --url https://api.lunary.ai/v1/checklists \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "slug": "pre-deployment-checklist", "type": "deployment", "data": { "items": [ { "name": "Run tests", "completed": false }, { "name": "Update documentation", "completed": false } ] } } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "slug": "<string>", "type": "<string>", "data": {}, "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "ownerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
Creates a new checklist with the provided slug, type, and data.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Unique identifier for the checklist within the project
The type of checklist
The checklist data
Successful response