cURL
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" ] }
Creates a set of text items
Returns the developer IDs of the created text items
The response is of type object.
object