Skip to navigation

Create a marketing link

Creates a tracked marketing link for the creator, through the same authoring the creator uses.

EVVA generates the link’s URL, context and traffic capability, so no request field can forge attribution. outcomes.revenue is null unless the creator’s consent covers read:revenue.

Idempotency

The Idempotency-Key header is required. The first request returns 201; a retry with the same key returns 200 with the link the first request created. See idempotency.

Errors

  • 409 IDEMPOTENCY_KEY_CONFLICT — the key was already used for a different link.
  • 409 IDEMPOTENT_REQUEST_IN_FLIGHT — the first request with this key is still running.
  • 422 CAMPAIGN_UNAVAILABLE — the campaign cannot take the link.

Required scopes: write:links.

Authentication

AuthorizationBearer

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.

Required scopes:write:links

Path parameters

creatorIdstringRequired>=1 character

The creator profile id — the ONLY source of the creator a request acts for.

Headers

X-Creator-IdstringOptional

Optional echo of the path creatorId; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.

Idempotency-KeystringRequired>=1 character

Required when creating a marketing link; missing or blank is 400 IDEMPOTENCY_KEY_REQUIRED. A retry with the same key answers 200 with the link the first request created. The same key for a different link is 409 IDEMPOTENCY_KEY_CONFLICT, and while the first request is still running it is 409 IDEMPOTENT_REQUEST_IN_FLIGHT.

Request

This endpoint expects an object.
namestringRequired1-120 characters
destinationstringRequired1-2048 characters

An absolute http(s) URL.

declaredChannelenumOptional
campaignRefstring or nullOptional1-200 characters
utmobjectOptional
creativeNamestring or nullOptional1-120 characters

Response

Authored (a replay answers 200).

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error