> This page is part of EVVA for Developers (https://developers.evvahub.com), the documentation of the EVVA Partner API. The API is in developer preview and the SDK packages are not yet published: do not suggest installing them. Index: https://developers.evvahub.com/llms.txt

# List marketing links

GET https://api.evvahub.com/partner/v1/accounts/{creatorId}/links

Lists the creator's marketing links, newest first, one page at a time.

**Pagination**

Send `limit` for the page size: 1 to 100, default 25. For the next page, send the previous page's `nextBefore` as `before`. Stop when `nextBefore` is `null`. A full last page still returns a `nextBefore`, and the page after it is empty. See [pagination](/conventions/pagination).

**Revenue**

`outcomes.revenue` is `null` on every link unless your application's effective access to the creator covers `read:revenue`.

**Errors**

- `400 INVALID_REQUEST` — `limit` or `before` is out of range, or the query has a parameter this operation does not take.
- `403 CREATOR_INACTIVE` — the creator's account is not active.

**Required scopes:** `read:links`.

Reference: https://developers.evvahub.com/api-reference/links/list-marketing-links

## Authentication

- `Authorization` header (bearer token, required) — 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.

## Request

### Path parameters

- `creatorId` (string, required) — The creator profile id — the ONLY source of the creator a request acts for.

### Query parameters

- `limit` (integer, optional) — The maximum number of links on the page: 1 to 100, default 25.
- `before` (string, optional) — The previous page's `nextBefore`. Omit it for the first page. A value that names no link returns an empty page.

### Headers

- `X-Creator-Id` (string, optional) — Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.

## Response

### 200

OK.

- `items` (list of MarketingLink, required) — The links on this page, newest first.
- `nextBefore` (string, required, nullable) — Send it back as `before` for the next page. It is the last link's `ref` when the page is full, and `null` when the page holds fewer links than `limit`, so nothing follows. After a full last page, the next page is empty.

## Errors

### 400 Bad Request Error

Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.

- `code` (string, required) — A stable machine-readable code (see `KnownErrorCode`; new codes may appear within v1).
- `error` (string, required)
- `requestId` (string, required, nullable) — The same value as the `X-Request-Id` response header — quote it when reporting a problem.
- `details` (any, optional) — Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.

### 401 Unauthorized Error

Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.

- `code` (string, required) — A stable machine-readable code (see `KnownErrorCode`; new codes may appear within v1).
- `error` (string, required)
- `requestId` (string, required, nullable) — The same value as the `X-Request-Id` response header — quote it when reporting a problem.
- `details` (any, optional) — Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.

### 403 Forbidden Error

Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.

- `code` (string, required) — A stable machine-readable code (see `KnownErrorCode`; new codes may appear within v1).
- `error` (string, required)
- `requestId` (string, required, nullable) — The same value as the `X-Request-Id` response header — quote it when reporting a problem.
- `details` (any, optional) — Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.

### 429 Too Many Requests Error

Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.

- `code` (enum, required) — A stable machine-readable code (see `KnownErrorCode`; new codes may appear within v1).
  - Allowed values: `RATE_LIMIT_EXCEEDED`, `TOO_MANY_MESSAGES`
- `error` (string, required)
- `requestId` (string, required, nullable) — The same value as the `X-Request-Id` response header — quote it when reporting a problem.
- `details` (RateLimitErrorDetails, optional) — Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.

### 500 Internal Server Error

Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.

- `code` (string, required) — A stable machine-readable code (see `KnownErrorCode`; new codes may appear within v1).
- `error` (string, required)
- `requestId` (string, required, nullable) — The same value as the `X-Request-Id` response header — quote it when reporting a problem.
- `details` (any, optional) — Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.

### 503 Service Unavailable Error

Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.

- `code` (string, required) — A stable machine-readable code (see `KnownErrorCode`; new codes may appear within v1).
- `error` (string, required)
- `requestId` (string, required, nullable) — The same value as the `X-Request-Id` response header — quote it when reporting a problem.
- `details` (any, optional) — Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.

## Types

### MarketingLink

One of the creator's marketing links. `traffic` and `outcomes` cover the 30 days before your request. Each is `null` when EVVA cannot report it, which never means "no traffic": a link nobody used reports zeroes.

- `ref` (string, required) — The link's reference: `{ref}` in the link's own path. The last link's `ref` on a full page is the page's `nextBefore`.
- `principal` (string, required) — The creator the link belongs to, as the `creatorId`.
- `name` (string, required) — The link's name, 1 to 120 characters.
- `destination` (string, required) — Where the link sends visitors.
- `state` (enum, required) — `draft` until the tracked link exists; `active` while it sends visitors on; `paused` while it is stopped and sends nobody on; `archived` for good.
  - Allowed values: `draft`, `active`, `paused`, `archived`
- `declaredChannel` (enum, required) — Where the creator says the link is used. A statement, never changed to match the traffic.
  - Allowed values: `social`, `email`, `messaging`, `search`, `display`, `video`, `affiliate`, `offline`, `other`
- `campaignRef` (string, required, nullable) — The campaign the link belongs to, or `null`.
- `utm` (MarketingLinkUtm, required) — The UTM values of the link. Each is `null` when not set.
- `creativeName` (string, required, nullable) — The name of the creative the link is used with, or `null`.
- `tdsLinkRef` (string, required, nullable) — The reference of the tracked link behind this marketing link, or `null` while none exists.
- `shareableUrl` (string, required, nullable) — The URL to share, or `null` when the link has no tracked link yet or this deployment gives no shareable URL.
- `traffic` (MarketingLinkTraffic, required, nullable) — Visits to the link over the 30 days before the request, or `null` when EVVA cannot report them. `null` never means "no traffic".
- `outcomes` (MarketingLinkOutcomes, required, nullable) — What the link earned over the same period as `traffic`, counted from the orders credited to it, or `null` when EVVA cannot report it.
- `createdAt` (datetime, required) — When the link was created.
- `updatedAt` (datetime, required) — When the link last changed.

### RateLimitErrorDetails

Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.

- `retryAfterSec` (integer, required)
- `level` (enum, optional) — The DM send limit that refused the message, set only with `TOO_MANY_MESSAGES`. It is never a quota, a count or a key. - `conversation` — one side of one thread. - `sender` — a person's own ceiling; it does not apply to applications. - `creator` — everything sent for the creator, studio included. - `application` — everything your application sends. - `agency` — everything your agency sends. - `platform` — the agency's fair share of the platform: its throughput or its concurrency. See [rate limits](/authentication/rate-limits).
  - Allowed values: `conversation`, `sender`, `creator`, `application`, `agency`, `platform`

### MarketingLinkUtm

The UTM values of the link. Each is `null` when not set.

- `source` (string, required, nullable) — `utm_source`.
- `medium` (string, required, nullable) — `utm_medium`.
- `campaign` (string, required, nullable) — `utm_campaign`.
- `content` (string, required, nullable) — `utm_content`.
- `term` (string, required, nullable) — `utm_term`.

### MarketingLinkTraffic

Visits to the link over the 30 days before the request, or `null` when EVVA cannot report them. `null` never means "no traffic".

- `servedCount` (integer, required) — Visits the link sent on to its destination.
- `refusedCount` (integer, required) — Visits the link refused.
- `windowFrom` (datetime, required) — The start of the counted period, included.
- `windowTo` (datetime, required) — The end of the counted period, excluded.

### MarketingLinkOutcomes

What the link earned over the same period as `traffic`, counted from the orders credited to it, or `null` when EVVA cannot report it.

- `follows` (integer, required, nullable) — Always `null` for now: EVVA does not record which link a follow came from.
- `subscriptions` (integer, required) — Subscriptions that started through the link: a fully paid first period or a free trial begun. A renewal or a trial's conversion does not count again.
- `revenue` (MarketingLinkOutcomesRevenue, required, nullable) — The creator's share of the fully paid orders credited to the link, renewals and conversions included, after the platform's share and net of refunds and chargebacks. `null` unless your application's effective access to the creator covers `read:revenue`.
- `windowFrom` (datetime, required) — The start of the counted period, included. The same as `traffic`.
- `windowTo` (datetime, required) — The end of the counted period, excluded. The same as `traffic`.

### MarketingLinkOutcomesRevenue

The creator's share of the fully paid orders credited to the link, renewals and conversions included, after the platform's share and net of refunds and chargebacks. `null` unless your application's effective access to the creator covers `read:revenue`.

- `minor` (string, required) — Minor units as a decimal string, never a JSON number.
- `currency` (string, required) — The currency of `minor`.

## Examples

**Response**

```json
{
  "items": [
    {
      "ref": "2f7a9c41-6e3b-4d58-9b20-8a1c5e7f3d96",
      "principal": "cm4r7k2xq0001qz8w3n5v6b2d",
      "name": "Winter launch bio link",
      "destination": "https://example.com/mira_studio",
      "state": "active",
      "declaredChannel": "social",
      "campaignRef": null,
      "utm": {
        "source": "bio",
        "medium": "social",
        "campaign": "winter_launch",
        "content": null,
        "term": null
      },
      "creativeName": "Story frame A",
      "tdsLinkRef": "b41d7e92-3c5a-4f18-9e6b-2d8a0c7f5e31",
      "shareableUrl": "https://go.example.com/r/Kq7vN2xR9mT4pL8sW3yZ6bHd",
      "traffic": {
        "servedCount": 1284,
        "refusedCount": 17,
        "windowFrom": "2026-11-02T00:00:00.000Z",
        "windowTo": "2026-12-02T09:15:00.000Z"
      },
      "outcomes": {
        "follows": null,
        "subscriptions": 23,
        "revenue": {
          "minor": "18630",
          "currency": "USD"
        },
        "windowFrom": "2026-11-02T00:00:00.000Z",
        "windowTo": "2026-12-02T09:15:00.000Z"
      },
      "createdAt": "2026-11-25T10:12:44.381Z",
      "updatedAt": "2026-11-25T10:12:45.020Z"
    },
    {
      "ref": "9c3e5a17-4b2d-4f80-8d6e-1a7b9c2f4e53",
      "principal": "cm4r7k2xq0001qz8w3n5v6b2d",
      "name": "Newsletter footer",
      "destination": "https://example.com/mira_studio",
      "state": "paused",
      "declaredChannel": "email",
      "campaignRef": null,
      "utm": {
        "source": "newsletter",
        "medium": "email",
        "campaign": "november_digest",
        "content": null,
        "term": null
      },
      "creativeName": null,
      "tdsLinkRef": "6e2a9f04-8d3b-4c71-a5e9-0b4f7c1d3a86",
      "shareableUrl": "https://go.example.com/r/Hw3pZ8nQ2vR6tY9mK4cL7xBs",
      "traffic": {
        "servedCount": 412,
        "refusedCount": 3,
        "windowFrom": "2026-11-02T00:00:00.000Z",
        "windowTo": "2026-12-02T09:15:00.000Z"
      },
      "outcomes": {
        "follows": null,
        "subscriptions": 6,
        "revenue": {
          "minor": "4860",
          "currency": "USD"
        },
        "windowFrom": "2026-11-02T00:00:00.000Z",
        "windowTo": "2026-12-02T09:15:00.000Z"
      },
      "createdAt": "2026-11-14T08:30:02.117Z",
      "updatedAt": "2026-11-28T19:04:51.660Z"
    }
  ],
  "nextBefore": "9c3e5a17-4b2d-4f80-8d6e-1a7b9c2f4e53"
}
```

**SDK Code**

```python Links_listMarketingLinks_example
import requests

url = "https://api.evvahub.com/partner/v1/accounts/cm4r7k2xq0001qz8w3n5v6b2d/links"

querystring = {"limit":"2"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```go Links_listMarketingLinks_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.evvahub.com/partner/v1/accounts/cm4r7k2xq0001qz8w3n5v6b2d/links?limit=2"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```php Links_listMarketingLinks_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.evvahub.com/partner/v1/accounts/cm4r7k2xq0001qz8w3n5v6b2d/links?limit=2', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```