Skip to Content
Cut.ProDocs
Posting: social media posts

Replace saved description styles

Replaces the whole list at once. 400 INVALID_PRESETS when two presets share an id or default_preset_id is not in the list.

Authorization

apiKey
headerX-Api-Key<token>

Request Body

  1. body
presets*array<>
Itemsitems <= 20
default_preset_id*string|null|null

Response Body

Response for status 204

PUT
/posts/description/presets
Example Request
curl -X PUT 'https://api.cut.pro/api/v1/posts/description/presets' \  -H 'Content-Type: application/json' \  -d '{  "presets": [    {      "id": "string",      "name": "string",      "style": {        "tone": "auto",        "length": "short",        "hashtags": 0,        "emojis": true,        "language": "auto",        "instructions": "string",        "template": "string"      }    }  ],  "default_preset_id": null}'
Example Response
Empty