POST
/
textItems
Create text items
curl --request POST \
  --url https://api.dittowords.com/v2/textItems \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "projectId": "project-id",
  "textItems": [
    {
      "text": "Hello world"
    },
    {
      "developerId": "custom-dev-id",
      "text": "Custom ID example"
    }
  ]
}'
{
  "developerIds": [
    "hello-world",
    "custom-dev-id"
  ]
}

Authorizations

Authorization
string
header
required

Body

application/json

Response

200 - application/json

Returns the developer IDs of the created text items

The response is of type object.