Studio designs
Render a Studio design
Changed onRenders a Studio design as a PNG with its fields filled in and returns the image URL. The design itself is not changed.
post/studio-designs/{designId}/render
Request
- Base URLhttps://www.app.ocoya.com/api/_public/v1
- AuthAPI key in header X-API-Key
Path parameters
designIdstring required
Example:design_123
Studio design ID, from GET /studio-designs.
Query parameters
brandIdstring required
Example:cmayvq3hk00017apshay5qezu
Ocoya brand ID. Get one from GET /brands.
Request body
Example request
{
"fields": {
"pixy-cmte4jx8o00ml3570hpuny2ze": "Summer sale, 20% off"
}
}Response
Success
Example response
{
"id": "design_123",
"name": "Weekly offer",
"url": "https://perma.pixy.art/render.png",
"mimetype": "image/png"
}Changes
- info
endpoint added
- info