cURL
curl --request POST \ --url https://draftliftai.com/api/v1/templates \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "Weekly Newsletter", "description": "A template for weekly email newsletters", "platform": "email", "character_limit": 5000 } '
{ "name": "<string>", "description": "<string>", "structure": {}, "id": 123, "is_ootb": true, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "is_audio_video": false, "character_limit": 123, "platform": "<string>", "user_id": 123 }
Creates a new custom template. Requires Business plan or higher.
API key (dl_live_...) or Supabase JWT token
Successful Response
Was this page helpful?