POST
/
v1
/
artwork
/
new
curl --request POST \
  --url https://api.roastify.app/v1/artwork/new \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "productId": "cmb04pd9m4005k6049b3elq6d",
  "fields": [
    {
      "fieldId": "placeholder_title",
      "type": "text",
      "value": "Happy Birthday!"
    }
  ]
}'
{
  "artworkUrl": "https://roastify-artwork.s3.us-east-1.amazonaws.com/outreach/01_artwork/1716537600000.jpeg"
}

Authorizations

x-api-key
string
header
required

The API key to authenticate requests provided by Roastify. A Base or Pro plan is required to use the API.

Headers

Idempotency-Key
string

The idempotency key to use for the request (V4 UUID recommended)

Example:

"123e4567-e89b-12d3-a456-426614174000"

Body

application/json

Response

201
application/json

New artwork created successfully

The response is of type object.