Campaigns .: Get Image

API Reference / v14

Get a Campaign’s Image

This endpoint redirects to the URI of the campaign image described by the query parameters.

Request Endpoint

GET /v14/campaigns/:id/image

No Authorization Required

Request Parameters

Param Type Required Description
density Decimal Yes The effective pixel density of the desired image, corresponding to the widespread “@1x”, “@1.5x”, “@2x” convention. Accepted values: 1, 1.5, 2.
height Integer Yes The height of the desired image in pixels.
width Integer Yes The width of the desired image in pixels.

Currently, the only available image dimension is 320x212.

cURL Example

curl -X GET -H Accept:image/jpg -H Content-Type:application/json

Example Response

HTTP/1.1 302 Found Headers: Location:


No campaign matches the given ID, or no image matches the given dimensions and density

HTTP/1.1 404 Not Found

(No response body.)