Create an upload session
Opens an upload session for one file in the creator’s vault.
Upload flow
- Create the session. The answer’s
uploadsays how to send the bytes. - For
upload.method: PUT, PUT the bytes toupload.url. ForMULTIPART, get part URLs fromPOST /partner/v1/accounts/{creatorId}/media/uploads/{uploadSessionId}/parts. - Finalize with
POST /partner/v1/accounts/{creatorId}/media/uploads/{uploadSessionId}/finalize, which turns the upload into an asset.
Errors
409 STORAGE_LIMIT_REACHED— the creator’s vault is full, or this file would overfill it.409 SANDBOX_QUOTA_REACHED— for a sandbox creator, the agency’s sandbox media budget is used up (sandbox).429 SANDBOX_QUOTA_REACHED— for a sandbox creator, the agency’s hourly sandbox processing budget is used up.
Required scopes: write:media.
Authentication
OAuth 2.0 client credentials. Request an access token at POST /partner/v1/oauth/token (grant_type=client_credentials) with the application’s client secret or a private_key_jwt assertion, then send it as Authorization: Bearer evpa_live_… (or evpa_test_… for a sandbox application). Tokens are opaque and short lived (see expires_in); there is no refresh token. Each operation lists the scopes it requires.
write:mediaPath parameters
The creator profile id — the ONLY source of the creator a request acts for.
Headers
Optional echo of the path creatorId; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.
Request
Whether your client can upload in several parts. If it can and the upload is at or above the deployment’s threshold, the answer is the MULTIPART descriptor. Below the threshold, or when this is not sent, the answer is the one-part PUT.
