Gift links

Download a gift-link CSV

The CSV of an export from POST /campaigns/{id}/distribution/exports, rendered now: revoked or refund-locked links are removed. The file holds private links meant only for the workspace; keep it out of logs and public places. Exports expire after 24 hours. Accepts an MCP OAuth token with gifts:links:read.

get/distribution/exports/{id}

Request

  • Base URL: https://gtmswag.com/api/v1
  • URL: https://gtmswag.com/api/v1/distribution/exports/{id}
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://gtmswag.com/oauth/authorize, token URL https://gtmswag.com/oauth/token, scopes: gifts:links:read)

Path parameters

idstring required

Export ID (export_) from the create response.

Response

CSV file (UTF-8, CRLF line endings).

Changes

No recorded changes to this operation across all 1 revision of this API.