Your API key. Create one in Ocoya. Authorization: Bearer <key> works too.
API Reference
Render a Studio design
Renders a Studio design as a PNG with its fields filled in and returns the image URL. The design itself is not changed.
Render a Studio design
curl --request POST \
--url https://www.app.ocoya.com/api/_public/v1/studio-designs/{designId}/render \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"fields": {
"pixy-cmte4jx8o00ml3570hpuny2ze": "Summer sale, 20% off"
}
}
'{
"id": "design_123",
"name": "Weekly offer",
"url": "https://perma.pixy.art/render.png",
"mimetype": "image/png"
}Authorizations
Body
application/json
Was this page helpful?