Get campaign by UUID
GET
/campaigns/{campaignId}
Fetch a single campaign by UUID and platformDomain. Requires campaigns:read ability.
Authorizations
bearerAuth
Include Authorization: Bearer <token> header.
Token must have the required abilities.
Type
HTTP (bearer)
Parameters
Path Parameters
UUID*
Campaign UUID (e.g., 6d823e4d-8f21-41f8-b461-e97c981880bc)
Type
Requiredstring
Query Parameters
shop*
The platform domain of the shop
Type
Requiredstring
Example
"my-shop.myshopify.com"Responses
Campaign found
application/json
JSON "id": 1234567890, "uuid": "6d823e4d-8f21-41f8-b461-e97c981880bc", "instance_id": 1234567890, "domain": "my-shop.myshopify.com", "platform_domain": "my-shop.myshopify.com", "platform": "shopify", "platform_linked_id": 1234567890, "name": "My Campaign", "internal_tags": "DONE", "preview_url": "https://cdn.teeinblue.com/examples/platform-mockups/preview.png", "preview_thumbnail": "https://cdn.teeinblue.com/examples/platform-mockups/thumbnail.webp", "version": 1, "enable_artwork_variant_assignment": true, "published_at": "2025-01-15T10:30:00Z", "created_at": "2025-01-15T10:30:00Z", "updated_at": "2025-01-15T10:30:00Z", "artworks": [ { "id": 1234567890, "name": "My Artwork", "description": "My Artwork Description", "width": 1000, "height": 1000, "thumbnail": "https://cdn.teeinblue.com/examples/platform-mockups/thumbnail.webp", "status": 1, "position": 1, "platform_variants_id": [ 1234567890, 1234567891 ] } ], "mockups": [ { "id": 1234567890, "width": 1000, "height": 1000, "platform_variants_id": [ 1234567890, 1234567891 ], "preview_url": "https://cdn.teeinblue.com/examples/platform-mockups/preview.png", "preview_thumbnail": "https://cdn.teeinblue.com/examples/platform-mockups/thumbnail.webp" } ]
{
}
GET
/campaigns/{campaignId}