Command Palette

Search for a command to run...

Access Links API

Create and manage access links for your lead magnets.

Overview

Access links allow recipients to view your lead magnets. Each link can have optional restrictions like email requirements, view limits, and expiration dates.

Endpoints

MethodEndpointDescription
GET/api/v1/access-linksList all access links
POST/api/v1/access-linksCreate an access link
GET/api/v1/access-links/:idGet a specific access link
PATCH/api/v1/access-links/:idUpdate an access link
DELETE/api/v1/access-links/:idDelete an access link

Retrieve access links, optionally filtered by lead magnet.

GET/api/v1/access-links

Query Parameters

ParameterTypeDescription
lead_magnet_idstringFilter by lead magnet (UUID)
pageintegerPage number (default: 1)
per_pageintegerItems per page (default: 20, max: 100)
is_activestringFilter by status: true, false, or all (default: all)

Response

json

Create a new access link for a lead magnet. Requires write scope.

POST/api/v1/access-links

Request Body

FieldTypeRequiredDescription
lead_magnet_idstringYesID of the lead magnet (UUID)
emailstringNoRecipient email
max_viewsintegerNoMaximum view count (1-10000)
expires_atstringNoExpiration date (ISO 8601 datetime)
is_activebooleanNoActive status (default: true)

Example

cURL CommandN8N Ready

Response

json

Retrieve a specific access link by ID.

GET/api/v1/access-links/{id}

Response

json

Update an existing access link. Requires write scope.

PATCH/api/v1/access-links/{id}

Request Body

All fields are optional:

FieldTypeDescription
emailstringRecipient email
max_viewsintegerMaximum view count
expires_atstringExpiration date (ISO 8601)
is_activebooleanActive status

Example

cURL CommandN8N Ready

Create multiple access links at once.

POST/api/v1/lead-magnets/{id}/bulk-links

Request Body

FieldTypeDescription
emailsarrayArray of email addresses
max_viewsintegerMax views for all links
expires_atstringExpiration for all links

Example

cURL CommandN8N Ready

Response

json

Use bulk link creation for event registration lists or campaign distribution.

Delete an access link. The link will immediately stop working. Requires write scope.

DELETE/api/v1/access-links/{id}

Example

cURL CommandN8N Ready

Response

json
FieldTypeDescription
idstringUnique identifier (UUID)
lead_magnet_idstringAssociated lead magnet ID
emailstringRecipient email address
codestringUnique access code
viewsnumberCurrent view count
max_viewsnumberMaximum allowed views
is_activebooleanWhether link is active
expires_atstringExpiration timestamp
created_atstringCreation timestamp