Post apiv1uploadsinit
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Purpose of the asset; determines the allowed contentType and max size on upload (see InitUploadRequest.contentType). PROJECT_LOGO — project logo (light/dark variants). CAMPAIGN_MEDIA — campaign creative.
PROJECT_LOGO, CAMPAIGN_MEDIA MIME type of the file. Allowed values depend on assetKind: PROJECT_LOGO — image/png, image/jpeg, image/svg+xml (max 5 MB); CAMPAIGN_MEDIA — image/png, image/jpeg, image/gif, video/mp4 (max 25 MB). The server also verifies the actual file bytes against the declared contentType and sizeBytes.
"image/png"
Response
Success
Purpose of the asset; determines the allowed contentType and max size on upload (see InitUploadRequest.contentType). PROJECT_LOGO — project logo (light/dark variants). CAMPAIGN_MEDIA — campaign creative.
PROJECT_LOGO, CAMPAIGN_MEDIA INITIATED, UPLOADING, CLEANING, COMPLETED, FAILED, EXPIRED