cURL
curl --request PUT \ --url https://draftliftai.com/api/v1/templates/{template_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "Updated Newsletter Template", "character_limit": 6000 } '
{ "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 }
Updates a custom template. Only user-created templates can be modified.
API key (dl_live_...) or Supabase JWT token
Successful Response
Was this page helpful?