REST API
Links
Links: 11 endpoints of the REST API.
/linksList links
Links of this environment, newest first by default. Filter by status, campaign, tag, domain_id and creation time, search with q, and sort by creation or update time. Archived links are left out unless status=archived or all.
Secret key scope (any of): links:read, links:write
Parameters
| Field | Type | Description |
|---|---|---|
limit (query) | integer | Items per page (1–100). |
cursor (query) | string |
|
status (query) | "active" | "disabled" | "expired" | "archived" | "blocked" | "all" | "deleted" | One status, |
campaign (query) | string | Only links of this campaign key. |
tag (query) | string | Only links with this tag. |
domain_id (query) | string | |
created_from (query) | string (date-time) | |
created_to (query) | string (date-time) | |
q (query) | string | Case-insensitive search in the short path, the name and the deep-link path. |
sort (query) | "created_at" | "updated_at" | |
direction (query) | "asc" | "desc" |
Responses
200 A page of links.
| Field | Type | Description |
|---|---|---|
datarequired | object[] | |
data[].idrequired | string | |
data[].urlrequired | string | The short URL: |
data[].qr_urlrequired | string | Path of the QR code image of this link (PNG or SVG) on this API, e.g. |
data[].domain_idrequired | string | |
data[].hostrequired | string | |
data[].pathrequired | string | |
data[].namerequired | string | null | |
data[].deep_link_pathrequired | string | |
data[].datarequired | object | |
data[].campaignrequired | object | null | |
data[].utmrequired | object | The link’s own UTM values; null where the campaign’s value is inherited. |
data[].utm.sourcerequired | string | null | |
data[].utm.mediumrequired | string | null | |
data[].utm.contentrequired | string | null | |
data[].utm.termrequired | string | null | |
data[].utm.creativerequired | string | null | |
data[].effective_utmrequired | object | What a click records: the link’s value, else the campaign’s. |
data[].effective_utm.sourcerequired | string | null | |
data[].effective_utm.mediumrequired | string | null | |
data[].effective_utm.contentrequired | string | null | |
data[].effective_utm.termrequired | string | null | |
data[].effective_utm.creativerequired | string | null | |
data[].redirectsrequired | object | |
data[].redirects.iosrequired | string | null | |
data[].redirects.androidrequired | string | null | |
data[].redirects.webrequired | string | null | |
data[].redirects.desktoprequired | string | null | |
data[].redirects.fallbackrequired | string | null | |
data[].statusrequired | "active" | "disabled" | "expired" | "archived" | "blocked" | |
data[].expires_atrequired | string (date-time) | null | |
data[].allow_param_passthroughrequired | boolean | |
data[].tagsrequired | string[] | |
data[].metadatarequired | object | |
data[].versionrequired | integer | |
data[].created_byrequired | string | null | The user who created the link; null for links made with an API or SDK key. |
data[].created_atrequired | string (date-time) | |
data[].updated_atrequired | string (date-time) | |
data[].deleted_atrequired | string (date-time) | null | Set while the link is in the trash; it is purged 30 days later. |
next_cursorrequired | string | null | Pass as |
Example
curl -X GET "https://api.becklinks.com/v1/links" \
-H "Authorization: Bearer $SECRET_KEY"/linksCreate a link
Creates a link on the environment’s shared domain (or on domain_id). Without path a random 7-character path is generated. In the live environment the creating user must have a verified email address. A destination URL that looks suspicious is saved and listed in warnings; one that is listed as dangerous is refused with 422 url_blocked.
Secret key scope (any of): links:write
Request body
| Field | Type | Description |
|---|---|---|
domain_id | string | The domain to serve the link on. Omit for the environment’s shared domain ( |
path | string | The short path, 1–64 characters of letters, digits, "-" and "_". Omit to get a generated 7-character path. A path of a deleted link stays reserved for 90 days. |
name | string | null | |
deep_link_pathrequired | string | The in-app route handed to the app, e.g. |
data | object | Custom JSON delivered to the app, at most 4 KB as stored; keys at most 64 characters. |
campaign | string | null | Key of a campaign of this environment; the link inherits its UTM defaults. |
utm | object | null | Overrides of the campaign’s UTM fields; a field left null is inherited. |
redirects | object | null | Per-platform destinations. |
expires_at | string (date-time) | null | When the link stops working (ISO-8601 UTC); must be in the future. |
allow_param_passthrough | boolean | Pass query parameters added to the short URL on to the app payload (LNK-005). |
tags | string[] | |
metadata | object | Your own annotations; never sent to the app. At most 4 KB as stored. |
Responses
201 The new link.
| Field | Type | Description |
|---|---|---|
idrequired | string | |
urlrequired | string | The short URL: |
qr_urlrequired | string | Path of the QR code image of this link (PNG or SVG) on this API, e.g. |
domain_idrequired | string | |
hostrequired | string | |
pathrequired | string | |
namerequired | string | null | |
deep_link_pathrequired | string | |
datarequired | object | |
campaignrequired | object | null | |
utmrequired | object | The link’s own UTM values; null where the campaign’s value is inherited. |
utm.sourcerequired | string | null | |
utm.mediumrequired | string | null | |
utm.contentrequired | string | null | |
utm.termrequired | string | null | |
utm.creativerequired | string | null | |
effective_utmrequired | object | What a click records: the link’s value, else the campaign’s. |
effective_utm.sourcerequired | string | null | |
effective_utm.mediumrequired | string | null | |
effective_utm.contentrequired | string | null | |
effective_utm.termrequired | string | null | |
effective_utm.creativerequired | string | null | |
redirectsrequired | object | |
redirects.iosrequired | string | null | |
redirects.androidrequired | string | null | |
redirects.webrequired | string | null | |
redirects.desktoprequired | string | null | |
redirects.fallbackrequired | string | null | |
statusrequired | "active" | "disabled" | "expired" | "archived" | "blocked" | |
expires_atrequired | string (date-time) | null | |
allow_param_passthroughrequired | boolean | |
tagsrequired | string[] | |
metadatarequired | object | |
versionrequired | integer | |
created_byrequired | string | null | The user who created the link; null for links made with an API or SDK key. |
created_atrequired | string (date-time) | |
updated_atrequired | string (date-time) | |
deleted_atrequired | string (date-time) | null | Set while the link is in the trash; it is purged 30 days later. |
warningsrequired | object[] | |
warnings[].coderequired | "destination_suspicious" | |
warnings[].pointerrequired | string | JSON Pointer to the field the warning is about. |
warnings[].detailrequired | string | |
warnings[].reasonsrequired | string[] | Stable reason codes of the URL check. |
Example
curl -X POST "https://api.becklinks.com/v1/links" \
-H "Authorization: Bearer $SECRET_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"deep_link_path":"string"}'/links/bulkCreate links in bulk
Creates up to 1,000 links in one request (body up to 10 MiB). By default every valid link is created and each invalid one is reported in results (the response is always 200; check failed). With atomic: true either all links are created or none. Each item follows CreateLinkRequest. A destination URL that looks suspicious is saved and listed in warnings; one that is listed as dangerous is refused with 422 url_blocked.
Secret key scope (any of): links:write
Request body
| Field | Type | Description |
|---|---|---|
linksrequired | object[] | 1 to 1000 objects shaped like CreateLinkRequest (the body may be up to 10 MiB). |
atomic | boolean | false (default): every valid link is created and each invalid one is reported in |
Responses
200 The outcome of each link.
| Field | Type | Description |
|---|---|---|
createdrequired | integer | |
failedrequired | integer | |
resultsrequired | object[] | One entry per submitted link, in request order. |
results[].indexrequired | integer | |
results[].statusrequired | "created" | "failed" | |
results[].linkrequired | object | null | |
results[].errorrequired | object | null |
Example
curl -X POST "https://api.becklinks.com/v1/links/bulk" \
-H "Authorization: Bearer $SECRET_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"links":[{}]}'/links/{link}Get a link
One link, including a deleted one that is still in the trash (deleted_at is set).
Secret key scope (any of): links:read, links:write
Parameters
| Field | Type | Description |
|---|---|---|
link (path)required | string | The ID of the link. |
Responses
200 The link.
| Field | Type | Description |
|---|---|---|
idrequired | string | |
urlrequired | string | The short URL: |
qr_urlrequired | string | Path of the QR code image of this link (PNG or SVG) on this API, e.g. |
domain_idrequired | string | |
hostrequired | string | |
pathrequired | string | |
namerequired | string | null | |
deep_link_pathrequired | string | |
datarequired | object | |
campaignrequired | object | null | |
utmrequired | object | The link’s own UTM values; null where the campaign’s value is inherited. |
utm.sourcerequired | string | null | |
utm.mediumrequired | string | null | |
utm.contentrequired | string | null | |
utm.termrequired | string | null | |
utm.creativerequired | string | null | |
effective_utmrequired | object | What a click records: the link’s value, else the campaign’s. |
effective_utm.sourcerequired | string | null | |
effective_utm.mediumrequired | string | null | |
effective_utm.contentrequired | string | null | |
effective_utm.termrequired | string | null | |
effective_utm.creativerequired | string | null | |
redirectsrequired | object | |
redirects.iosrequired | string | null | |
redirects.androidrequired | string | null | |
redirects.webrequired | string | null | |
redirects.desktoprequired | string | null | |
redirects.fallbackrequired | string | null | |
statusrequired | "active" | "disabled" | "expired" | "archived" | "blocked" | |
expires_atrequired | string (date-time) | null | |
allow_param_passthroughrequired | boolean | |
tagsrequired | string[] | |
metadatarequired | object | |
versionrequired | integer | |
created_byrequired | string | null | The user who created the link; null for links made with an API or SDK key. |
created_atrequired | string (date-time) | |
updated_atrequired | string (date-time) | |
deleted_atrequired | string (date-time) | null | Set while the link is in the trash; it is purged 30 days later. |
Example
curl -X GET "https://api.becklinks.com/v1/links/{link}" \
-H "Authorization: Bearer $SECRET_KEY"/links/{link}Update a link
Changes the fields sent and keeps the short URL. Every change writes a new version. Send expected_version to refuse the change when someone else edited the link meanwhile (409 version_conflict). A request that changes nothing returns the link unchanged. path and the domain cannot change. A blocked link cannot be edited. A destination URL that looks suspicious is saved and listed in warnings; one that is listed as dangerous is refused with 422 url_blocked.
Secret key scope (any of): links:write
Parameters
| Field | Type | Description |
|---|---|---|
link (path)required | string | The ID of the link. |
Request body
| Field | Type | Description |
|---|---|---|
name | string | null | |
deep_link_path | string | |
data | object | Custom JSON delivered to the app, at most 4 KB as stored; keys at most 64 characters. |
campaign | string | null | Key of a campaign of this environment; the link inherits its UTM defaults. |
utm | object | null | Fields sent here change, fields left out stay; send a field as null to inherit it again. |
redirects | object | null | Destinations sent here change, others stay; send one as null to use the project default. |
expires_at | string (date-time) | null | ISO-8601 UTC, or null for no expiry. Setting a future date revives an expired link. |
allow_param_passthrough | boolean | Pass query parameters added to the short URL on to the app payload (LNK-005). |
tags | string[] | |
metadata | object | Your own annotations; never sent to the app. At most 4 KB as stored. |
expected_version | integer | The |
change_reason | string | A note stored with the new version in the history. |
Responses
200 The updated link.
| Field | Type | Description |
|---|---|---|
idrequired | string | |
urlrequired | string | The short URL: |
qr_urlrequired | string | Path of the QR code image of this link (PNG or SVG) on this API, e.g. |
domain_idrequired | string | |
hostrequired | string | |
pathrequired | string | |
namerequired | string | null | |
deep_link_pathrequired | string | |
datarequired | object | |
campaignrequired | object | null | |
utmrequired | object | The link’s own UTM values; null where the campaign’s value is inherited. |
utm.sourcerequired | string | null | |
utm.mediumrequired | string | null | |
utm.contentrequired | string | null | |
utm.termrequired | string | null | |
utm.creativerequired | string | null | |
effective_utmrequired | object | What a click records: the link’s value, else the campaign’s. |
effective_utm.sourcerequired | string | null | |
effective_utm.mediumrequired | string | null | |
effective_utm.contentrequired | string | null | |
effective_utm.termrequired | string | null | |
effective_utm.creativerequired | string | null | |
redirectsrequired | object | |
redirects.iosrequired | string | null | |
redirects.androidrequired | string | null | |
redirects.webrequired | string | null | |
redirects.desktoprequired | string | null | |
redirects.fallbackrequired | string | null | |
statusrequired | "active" | "disabled" | "expired" | "archived" | "blocked" | |
expires_atrequired | string (date-time) | null | |
allow_param_passthroughrequired | boolean | |
tagsrequired | string[] | |
metadatarequired | object | |
versionrequired | integer | |
created_byrequired | string | null | The user who created the link; null for links made with an API or SDK key. |
created_atrequired | string (date-time) | |
updated_atrequired | string (date-time) | |
deleted_atrequired | string (date-time) | null | Set while the link is in the trash; it is purged 30 days later. |
warningsrequired | object[] | |
warnings[].coderequired | "destination_suspicious" | |
warnings[].pointerrequired | string | JSON Pointer to the field the warning is about. |
warnings[].detailrequired | string | |
warnings[].reasonsrequired | string[] | Stable reason codes of the URL check. |
Example
curl -X PATCH "https://api.becklinks.com/v1/links/{link}" \
-H "Authorization: Bearer $SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{}'/links/{link}Delete a link
Moves the link to the trash: it stops redirecting at once and can be restored for 30 days. Its short path stays reserved for 90 days so old traffic never reaches a new destination. Deleting a deleted link succeeds.
Secret key scope (any of): links:write
Parameters
| Field | Type | Description |
|---|---|---|
link (path)required | string | The ID of the link. |
Responses
204 The link is deleted.
Example
curl -X DELETE "https://api.becklinks.com/v1/links/{link}" \
-H "Authorization: Bearer $SECRET_KEY"/links/{link}/archiveArchive a link
Hides the link from the default list and stops it from redirecting. Its short path stays its own; restore it to use it again.
Secret key scope (any of): links:write
Parameters
| Field | Type | Description |
|---|---|---|
link (path)required | string | The ID of the link. |
Responses
200 The archived link.
| Field | Type | Description |
|---|---|---|
idrequired | string | |
urlrequired | string | The short URL: |
qr_urlrequired | string | Path of the QR code image of this link (PNG or SVG) on this API, e.g. |
domain_idrequired | string | |
hostrequired | string | |
pathrequired | string | |
namerequired | string | null | |
deep_link_pathrequired | string | |
datarequired | object | |
campaignrequired | object | null | |
utmrequired | object | The link’s own UTM values; null where the campaign’s value is inherited. |
utm.sourcerequired | string | null | |
utm.mediumrequired | string | null | |
utm.contentrequired | string | null | |
utm.termrequired | string | null | |
utm.creativerequired | string | null | |
effective_utmrequired | object | What a click records: the link’s value, else the campaign’s. |
effective_utm.sourcerequired | string | null | |
effective_utm.mediumrequired | string | null | |
effective_utm.contentrequired | string | null | |
effective_utm.termrequired | string | null | |
effective_utm.creativerequired | string | null | |
redirectsrequired | object | |
redirects.iosrequired | string | null | |
redirects.androidrequired | string | null | |
redirects.webrequired | string | null | |
redirects.desktoprequired | string | null | |
redirects.fallbackrequired | string | null | |
statusrequired | "active" | "disabled" | "expired" | "archived" | "blocked" | |
expires_atrequired | string (date-time) | null | |
allow_param_passthroughrequired | boolean | |
tagsrequired | string[] | |
metadatarequired | object | |
versionrequired | integer | |
created_byrequired | string | null | The user who created the link; null for links made with an API or SDK key. |
created_atrequired | string (date-time) | |
updated_atrequired | string (date-time) | |
deleted_atrequired | string (date-time) | null | Set while the link is in the trash; it is purged 30 days later. |
warningsrequired | object[] | |
warnings[].coderequired | "destination_suspicious" | |
warnings[].pointerrequired | string | JSON Pointer to the field the warning is about. |
warnings[].detailrequired | string | |
warnings[].reasonsrequired | string[] | Stable reason codes of the URL check. |
Example
curl -X POST "https://api.becklinks.com/v1/links/{link}/archive" \
-H "Authorization: Bearer $SECRET_KEY" \
-H "Idempotency-Key: $(uuidgen)"/links/{link}/disableDisable a link
Stops the link from redirecting (within a minute). Disabling a disabled link succeeds without change. Expired, archived and blocked links cannot be disabled (409).
Secret key scope (any of): links:write
Parameters
| Field | Type | Description |
|---|---|---|
link (path)required | string | The ID of the link. |
Responses
200 The disabled link.
| Field | Type | Description |
|---|---|---|
idrequired | string | |
urlrequired | string | The short URL: |
qr_urlrequired | string | Path of the QR code image of this link (PNG or SVG) on this API, e.g. |
domain_idrequired | string | |
hostrequired | string | |
pathrequired | string | |
namerequired | string | null | |
deep_link_pathrequired | string | |
datarequired | object | |
campaignrequired | object | null | |
utmrequired | object | The link’s own UTM values; null where the campaign’s value is inherited. |
utm.sourcerequired | string | null | |
utm.mediumrequired | string | null | |
utm.contentrequired | string | null | |
utm.termrequired | string | null | |
utm.creativerequired | string | null | |
effective_utmrequired | object | What a click records: the link’s value, else the campaign’s. |
effective_utm.sourcerequired | string | null | |
effective_utm.mediumrequired | string | null | |
effective_utm.contentrequired | string | null | |
effective_utm.termrequired | string | null | |
effective_utm.creativerequired | string | null | |
redirectsrequired | object | |
redirects.iosrequired | string | null | |
redirects.androidrequired | string | null | |
redirects.webrequired | string | null | |
redirects.desktoprequired | string | null | |
redirects.fallbackrequired | string | null | |
statusrequired | "active" | "disabled" | "expired" | "archived" | "blocked" | |
expires_atrequired | string (date-time) | null | |
allow_param_passthroughrequired | boolean | |
tagsrequired | string[] | |
metadatarequired | object | |
versionrequired | integer | |
created_byrequired | string | null | The user who created the link; null for links made with an API or SDK key. |
created_atrequired | string (date-time) | |
updated_atrequired | string (date-time) | |
deleted_atrequired | string (date-time) | null | Set while the link is in the trash; it is purged 30 days later. |
warningsrequired | object[] | |
warnings[].coderequired | "destination_suspicious" | |
warnings[].pointerrequired | string | JSON Pointer to the field the warning is about. |
warnings[].detailrequired | string | |
warnings[].reasonsrequired | string[] | Stable reason codes of the URL check. |
Example
curl -X POST "https://api.becklinks.com/v1/links/{link}/disable" \
-H "Authorization: Bearer $SECRET_KEY" \
-H "Idempotency-Key: $(uuidgen)"/links/{link}/enableEnable a link
Makes a disabled link redirect again. An expired link is revived by changing its expires_at, an archived one by restoring it (409 otherwise).
Secret key scope (any of): links:write
Parameters
| Field | Type | Description |
|---|---|---|
link (path)required | string | The ID of the link. |
Responses
200 The enabled link.
| Field | Type | Description |
|---|---|---|
idrequired | string | |
urlrequired | string | The short URL: |
qr_urlrequired | string | Path of the QR code image of this link (PNG or SVG) on this API, e.g. |
domain_idrequired | string | |
hostrequired | string | |
pathrequired | string | |
namerequired | string | null | |
deep_link_pathrequired | string | |
datarequired | object | |
campaignrequired | object | null | |
utmrequired | object | The link’s own UTM values; null where the campaign’s value is inherited. |
utm.sourcerequired | string | null | |
utm.mediumrequired | string | null | |
utm.contentrequired | string | null | |
utm.termrequired | string | null | |
utm.creativerequired | string | null | |
effective_utmrequired | object | What a click records: the link’s value, else the campaign’s. |
effective_utm.sourcerequired | string | null | |
effective_utm.mediumrequired | string | null | |
effective_utm.contentrequired | string | null | |
effective_utm.termrequired | string | null | |
effective_utm.creativerequired | string | null | |
redirectsrequired | object | |
redirects.iosrequired | string | null | |
redirects.androidrequired | string | null | |
redirects.webrequired | string | null | |
redirects.desktoprequired | string | null | |
redirects.fallbackrequired | string | null | |
statusrequired | "active" | "disabled" | "expired" | "archived" | "blocked" | |
expires_atrequired | string (date-time) | null | |
allow_param_passthroughrequired | boolean | |
tagsrequired | string[] | |
metadatarequired | object | |
versionrequired | integer | |
created_byrequired | string | null | The user who created the link; null for links made with an API or SDK key. |
created_atrequired | string (date-time) | |
updated_atrequired | string (date-time) | |
deleted_atrequired | string (date-time) | null | Set while the link is in the trash; it is purged 30 days later. |
warningsrequired | object[] | |
warnings[].coderequired | "destination_suspicious" | |
warnings[].pointerrequired | string | JSON Pointer to the field the warning is about. |
warnings[].detailrequired | string | |
warnings[].reasonsrequired | string[] | Stable reason codes of the URL check. |
Example
curl -X POST "https://api.becklinks.com/v1/links/{link}/enable" \
-H "Authorization: Bearer $SECRET_KEY" \
-H "Idempotency-Key: $(uuidgen)"/links/{link}/restoreRestore a link
Brings an archived link back as active, or takes a deleted link out of the trash (within 30 days; it keeps the status it had, so restore an archived and deleted link twice).
Secret key scope (any of): links:write
Parameters
| Field | Type | Description |
|---|---|---|
link (path)required | string | The ID of the link. |
Responses
200 The restored link.
| Field | Type | Description |
|---|---|---|
idrequired | string | |
urlrequired | string | The short URL: |
qr_urlrequired | string | Path of the QR code image of this link (PNG or SVG) on this API, e.g. |
domain_idrequired | string | |
hostrequired | string | |
pathrequired | string | |
namerequired | string | null | |
deep_link_pathrequired | string | |
datarequired | object | |
campaignrequired | object | null | |
utmrequired | object | The link’s own UTM values; null where the campaign’s value is inherited. |
utm.sourcerequired | string | null | |
utm.mediumrequired | string | null | |
utm.contentrequired | string | null | |
utm.termrequired | string | null | |
utm.creativerequired | string | null | |
effective_utmrequired | object | What a click records: the link’s value, else the campaign’s. |
effective_utm.sourcerequired | string | null | |
effective_utm.mediumrequired | string | null | |
effective_utm.contentrequired | string | null | |
effective_utm.termrequired | string | null | |
effective_utm.creativerequired | string | null | |
redirectsrequired | object | |
redirects.iosrequired | string | null | |
redirects.androidrequired | string | null | |
redirects.webrequired | string | null | |
redirects.desktoprequired | string | null | |
redirects.fallbackrequired | string | null | |
statusrequired | "active" | "disabled" | "expired" | "archived" | "blocked" | |
expires_atrequired | string (date-time) | null | |
allow_param_passthroughrequired | boolean | |
tagsrequired | string[] | |
metadatarequired | object | |
versionrequired | integer | |
created_byrequired | string | null | The user who created the link; null for links made with an API or SDK key. |
created_atrequired | string (date-time) | |
updated_atrequired | string (date-time) | |
deleted_atrequired | string (date-time) | null | Set while the link is in the trash; it is purged 30 days later. |
warningsrequired | object[] | |
warnings[].coderequired | "destination_suspicious" | |
warnings[].pointerrequired | string | JSON Pointer to the field the warning is about. |
warnings[].detailrequired | string | |
warnings[].reasonsrequired | string[] | Stable reason codes of the URL check. |
Example
curl -X POST "https://api.becklinks.com/v1/links/{link}/restore" \
-H "Authorization: Bearer $SECRET_KEY" \
-H "Idempotency-Key: $(uuidgen)"/links/{link}/versionsList the versions of a link
The history of the link, newest first: each version holds the whole link as it was. To go back to a version, PATCH the link with that snapshot’s values.
Secret key scope (any of): links:read, links:write
Parameters
| Field | Type | Description |
|---|---|---|
link (path)required | string | The ID of the link. |
limit (query) | integer | Items per page (1–100). |
cursor (query) | string |
|
Responses
200 A page of versions.
| Field | Type | Description |
|---|---|---|
datarequired | object[] | |
data[].versionrequired | integer | |
data[].snapshotrequired | object | The link as it was at this version. To go back to it, PATCH the link with these values. |
data[].snapshot.idrequired | string | |
data[].snapshot.domainrequired | string | |
data[].snapshot.pathrequired | string | |
data[].snapshot.namerequired | string | null | |
data[].snapshot.deep_link_pathrequired | string | |
data[].snapshot.datarequired | object | |
data[].snapshot.campaignrequired | string | null | |
data[].snapshot.utmrequired | object | |
data[].snapshot.utm.sourcerequired | string | null | |
data[].snapshot.utm.mediumrequired | string | null | |
data[].snapshot.utm.contentrequired | string | null | |
data[].snapshot.utm.termrequired | string | null | |
data[].snapshot.utm.creativerequired | string | null | |
data[].snapshot.redirectsrequired | object | |
data[].snapshot.redirects.iosrequired | string | null | |
data[].snapshot.redirects.androidrequired | string | null | |
data[].snapshot.redirects.webrequired | string | null | |
data[].snapshot.redirects.desktoprequired | string | null | |
data[].snapshot.redirects.fallbackrequired | string | null | |
data[].snapshot.statusrequired | "active" | "disabled" | "expired" | "archived" | "blocked" | |
data[].snapshot.expires_atrequired | string | null | |
data[].snapshot.allow_param_passthroughrequired | boolean | |
data[].snapshot.tagsrequired | string[] | |
data[].snapshot.metadatarequired | object | |
data[].snapshot.deleted_atrequired | string | null | |
data[].snapshot.versionrequired | integer | |
data[].snapshot.created_atrequired | string | |
data[].changed_byrequired | string | null | The user who made the change; null for an API or SDK key. |
data[].change_reasonrequired | string | null | |
data[].created_atrequired | string (date-time) | |
next_cursorrequired | string | null | Pass as |
Example
curl -X GET "https://api.becklinks.com/v1/links/{link}/versions" \
-H "Authorization: Bearer $SECRET_KEY"