cURL
curl --request GET \ --url https://api.firstpromoter.com/api/v2/company/assets/{id} \ --header 'Account-ID: <account-id>' \ --header 'Authorization: Bearer <token>'
{ "id": 123, "name": "<string>", "allowed_campaign_ids": [ 123 ], "details": { "file_format": "<string>", "file_size": 123, "image_size": { "width": 123, "height": 123 } }, "content": "<string>", "landing_page_url": "<string>", "asset_type": "image", "url": "<string>", "thumbnail_url": "<string>", "uploading": true, "category": { "id": 123, "name": "<string>", "position": 123 }, "allowed_campaigns": [ { "id": 123, "name": "<string>", "color": "<string>" } ] }
Access token passed as a Bearer token in the Authorization header
Account identifier that specifies which account is making the request
"acc_123456"
ID of the asset
Asset details
Show child attributes
image
document
link
text