Render creatives
const url = 'https://ads.wortise.com/api/public/v1/creatives/render';const options = { method: 'POST', headers: {'x-api-key': '<x-api-key>', 'Content-Type': 'application/json'}, body: '[{"_id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","height":1,"trackingTag":"https://example.com","type":"banner","url":"example","width":1,"asset":{"aspectRatio":"5:4","filename":"example","height":1,"size":1,"storageKey":"example","url":"https://example.com","watermark":true,"watermarkUrl":"https://example.com","width":1,"extension":"jpeg","type":"image"},"brand":{"adn":{"colorScheme":"light","colors":{"accent":"example","background":"example","error":"example","link":"example","primary":"example","secondary":"example","success":"example","textPrimary":"example","textSecondary":"example","warning":"example"},"components":{"buttonPrimary":{"background":"example","borderColor":"example","borderRadius":"example","textColor":"example"},"buttonSecondary":{"background":"example","borderColor":"example","borderRadius":"example","textColor":"example"}},"fonts":[{"family":"example","role":"example"}],"images":{"favicon":"https://example.com","logo":"https://example.com","ogImage":"https://example.com","uploadedAt":"2026-04-15T12:00:00Z"},"personality":{"energy":"example","targetAudience":"example","tone":"example"},"spacing":{"baseUnit":1,"borderRadius":1,"margins":{"additionalProperty":1},"padding":{"additionalProperty":1}},"typography":{"fontFamilies":{"code":"example","heading":"example","primary":"example"},"fontSizes":{"body":"example","h1":"example","h2":"example","h3":"example"},"fontWeights":{"bold":1,"light":1,"medium":1,"regular":1},"lineHeights":{"additionalProperty":1}}},"logo":"https://example.com","name":"example"}}]'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://ads.wortise.com/api/public/v1/creatives/render \ --header 'Content-Type: application/json' \ --header 'x-api-key: <x-api-key>' \ --data '[ { "_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "height": 1, "trackingTag": "https://example.com", "type": "banner", "url": "example", "width": 1, "asset": { "aspectRatio": "5:4", "filename": "example", "height": 1, "size": 1, "storageKey": "example", "url": "https://example.com", "watermark": true, "watermarkUrl": "https://example.com", "width": 1, "extension": "jpeg", "type": "image" }, "brand": { "adn": { "colorScheme": "light", "colors": { "accent": "example", "background": "example", "error": "example", "link": "example", "primary": "example", "secondary": "example", "success": "example", "textPrimary": "example", "textSecondary": "example", "warning": "example" }, "components": { "buttonPrimary": { "background": "example", "borderColor": "example", "borderRadius": "example", "textColor": "example" }, "buttonSecondary": { "background": "example", "borderColor": "example", "borderRadius": "example", "textColor": "example" } }, "fonts": [ { "family": "example", "role": "example" } ], "images": { "favicon": "https://example.com", "logo": "https://example.com", "ogImage": "https://example.com", "uploadedAt": "2026-04-15T12:00:00Z" }, "personality": { "energy": "example", "targetAudience": "example", "tone": "example" }, "spacing": { "baseUnit": 1, "borderRadius": 1, "margins": { "additionalProperty": 1 }, "padding": { "additionalProperty": 1 } }, "typography": { "fontFamilies": { "code": "example", "heading": "example", "primary": "example" }, "fontSizes": { "body": "example", "h1": "example", "h2": "example", "h3": "example" }, "fontWeights": { "bold": 1, "light": 1, "medium": 1, "regular": 1 }, "lineHeights": { "additionalProperty": 1 } } }, "logo": "https://example.com", "name": "example" } } ]'Renders assets into creative templates: returns the markup and size to save on each creative.
Requires the creatives:read scope.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”object
Destination URL (redirect)
object
object
object
Narrate the ad with an AI voice, one line per scene.
Language of the narration. Omit to narrate in the on-screen language.
Speaking speed, from 1 to 1.5; the pitch is kept.
Voice of the narration. cedar and onyx sound best in Spanish.
object
object
object
object
object
object
object
object
Responses
Section titled “Responses”The rendered creatives.
object
Destination URL (redirect)
object
object
object
Narrate the ad with an AI voice, one line per scene.
Language of the narration. Omit to narrate in the on-screen language.
Speaking speed, from 1 to 1.5; the pitch is kept.
Voice of the narration. cedar and onyx sound best in Spanish.
object
object
object
object
object
object
object
object
Aspect ratio of the template
Size of the template; save it as the creative width and height
object
Rendered markup; save it as the creative html
Template path
Example
[ { "type": "banner", "asset": { "aspectRatio": "5:4", "extension": "jpeg", "type": "image" }, "brand": { "adn": { "colorScheme": "light" } } }]The JSON body is malformed or fails the input validation.
object
Zod issues
object
Location of the invalid field in the procedure input
object
object
TRPC error code, e.g. UNAUTHORIZED, FORBIDDEN, NOT_FOUND, CONFLICT
Example
{ "errors": [ { "code": "custom" } ], "message": "Validation Error"}The API key is missing, invalid, disabled or expired.
object
TRPC error code, e.g. UNAUTHORIZED, FORBIDDEN, NOT_FOUND, CONFLICT
Example
{ "code": "PARSE_ERROR"}The API key lacks the scope, or its owner lacks the dashboard permission.
object
TRPC error code, e.g. UNAUTHORIZED, FORBIDDEN, NOT_FOUND, CONFLICT
Example
{ "code": "PARSE_ERROR"}The API key exceeded its rate limit; retry after the Retry-After seconds.
object
TRPC error code, e.g. UNAUTHORIZED, FORBIDDEN, NOT_FOUND, CONFLICT
Example
{ "code": "PARSE_ERROR"}Headers
Section titled “Headers”Seconds to wait before retrying.
Unexpected server error.
object
TRPC error code, e.g. UNAUTHORIZED, FORBIDDEN, NOT_FOUND, CONFLICT
Example
{ "code": "PARSE_ERROR"}© 2026 Wortise. All rights reserved.