# API - Creative

# Hook

Once the render is done, a POST request will be made on your custom endpoint (has to be defined), containing the following body :

{
	"creative": {
		"id": 123, // Internal Glooh Reference
		"creative_id": "<GUID>",
		"campaign_brief_id": "<GUID>",
		"status": "ready",
		"media": [{
				"type": "video",
				"format": "render",
				"source": "https://"
			},
			{
				"type": "image",
				"format": "thumbnail",
				"source": "https://"
			},
			{
				"type": "video",
				"format": "render_rotated",
				"source": "https://"
			}

		]
	}
}

# Media formats

Type Format Description
video render Rendered video - in the native resolution of the template (eg: portrait FULL HD)
video render_rotated Rendered video - with a 90º left rotation -> Useful for Clear Channel France
image thumbnail Still image of the rendered video, in the native resolution of the template
TO BE CONFIRMED (out of scope request) video render_watermarked Rendered video - containing a watermark for user preview