Campaigns
Create campaign with media
Creates a campaign with media attached: the campaign part is a Create Campaign Input as JSON and media is one to three files (600 KB in total; supported types include JPEG, GIF, PNG, audio, video and PDF). Everything else works as in Create Campaign, and POST /campaigns/preview with has_media previews the send instead. The media count, size and type limits (MediaLimitExceeded, MediaTooLarge, MediaTypeNotSupported) are enforced with the other API-side validation.
post/campaigns/create-with-media
Request
- Base URLhttps://api.textla.com/v1
- AuthHTTP bearer
Request body multipart/form-data
Response
Created
Example response
{
"$schema": "/v1/schemas/Campaign.json"
}Changes
No recorded changes to this operation across all 1 revision of this API.