Skip to main content
← All documentationContents ↓

API Reference: Data View Share Links

Create share links for a Data View or an album: a second address on your Team's domains that follows the Data View's Who can use it setting, with optional password, expiry, email, downloads, and a narrowing filter.

Overview

A share link is a second address for one Data View at /s/<address> on your Team host and any custom domain you link to it. It follows the Data View's Who can use it setting: a Data View for anyone makes links anyone with the address can open; a Data View for signed-in Team Users or signed-in people makes links that still ask visitors to sign in. The Data View's filters and field privacy always apply, and links work whether or not the Data View's hosted page or embeds are on.

Each link can add a readable address (slug), a password, an expiry, an email request, downloads of original files, extra custom domains, and a filter that narrows the Data View, for example to one album. Every link also has a private address built from its token. The token is returned only when the link is created or its token is replaced.

Authentication and Tier

All operations are standard tier. Reads need the VIEW_SHARE_LINKS feature permission and read access to the Data View's Collection; changes need edit on VIEW_SHARE_LINKS and update access to the Collection. OAuth callers need schema:read for reads and configuration:write for changes.

Endpoints

MethodPathPurpose
GET/v1/data-views/{dataViewSimplyId}/share-linksList a Data View's links.
POST/v1/data-views/{dataViewSimplyId}/share-linksCreate a link. Returns the token and its addresses once.
GET/v1/share-links/{shareLinkSimplyId}Get one link.
PATCH/v1/share-links/{shareLinkSimplyId}Change settings. Only the keys you send change.
POST/v1/share-links/{shareLinkSimplyId}/rotate-tokenReplace the private address. Returns the new one once.
POST/v1/share-links/{shareLinkSimplyId}/revokeTurn the link off for good.
GET/v1/share-links/{shareLinkSimplyId}/domainsWhere the link answers, and custom domains you could add.
PUT/v1/share-links/{shareLinkSimplyId}/domainsReplace the linked custom domains.
GET/v1/share-links/{shareLinkSimplyId}/access-eventsVisits, downloads, captured emails, and wrong passwords, newest first.

Create a Link

const { data } = await s360.viewShareLinks.create('VIEW-0000-0900', {
  name: 'Jazz June 2026',
  slug: 'jazzjune2026',
  password: 'choose-a-password',
  expiresAt: '2026-12-31T23:59:00Z',
  accessMode: 'DOWNLOAD',
  requireEmail: true,
  filter: {
    schemaVersion: 1,
    group: { logic: 'AND', conditions: [{ type: 'FIELD', fieldSimplyId: 'ALBF-0000-0001', operator: 'EQUALS', value: 'ALBM-0000-0001' }] },
  },
  teamDomainSimplyIds: ['CUST-0000-0071'],
});
// data.token and data.tokenUrls are returned only now.
// data.hostedDomains[].hostedUrl is the readable address on each domain.
FieldTypeNotes
namestring, requiredShown to visitors as the page title. Up to 120 characters.
slugstring or nullReadable address: 3–64 lowercase letters, digits, and hyphens, unique in your Team, not a reserved word.
passwordstring or nullStored only as a hash. Changing or removing it signs every visitor out of the link.
expiresAtISO date-time or nullMust be in the future.
accessModeVIEW or DOWNLOADDownloads serve the originals and/or active Team saved sizes the link allows.
downloadSizesarray or nullORIGINAL and/or active Team saved-size Simply IDs (at most eight sizes plus the original). Inactive or deleted sizes are refused. Named sizes are image-only.
watermarkobject or nullExactly one of text (1–120 characters) or logoFileSimplyId (an available Team Media image), plus position (TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, CENTER) and opacity (0.25, 0.5, 0.75). Every image preview and saved-size download is watermarked. Image originals are blocked; non-image originals are unaffected.
requireEmailbooleanVisitors enter an email address before anything is shown.
filterData Filter or nullField conditions on the Data View's Collection (type: "FIELD" with a fieldSimplyId). Keywords and saved filters are refused. It can only narrow the Data View.
teamDomainSimplyIdsarrayActive custom domains that also answer. The Team host always does.

Every read returns simplyId, dataViewSimplyId, name, slug, teamHostUrl (the readable address on the Team host, or null), status (ACTIVE, EXPIRED, or REVOKED), audience (ANYONE, SIGNED_IN_TEAM_USERS, or SIGNED_IN_CONSTITUENTS, from the Data View), accessMode, downloadSizes, watermark, hasPassword, requireEmail, filter, expiresAt, revokedAt, viewCount, downloadCount, lastAccessedAt, createdAt, and updatedAt. Password hashes and tokens are never returned.

What Visitors Get

Visitors open https://<domain>/s/<address>. Gallery Data Views show image tiles with titles and captions; other Data Views use the hosted Data View renderer. Pages are never indexed or cached and send no referrer. After 10 wrong passwords in 15 minutes a link stops checking passwords for a while.

Errors

StatusCodeCause
403FEATURE_PERMISSION_DENIED, DATA_PERMISSION_DENIEDMissing VIEW_SHARE_LINKS or Collection access.
404DATA_VIEW_NOT_FOUND, SHARE_LINK_NOT_FOUNDNot in your Team.
409SLUG_TAKEN, ALREADY_REVOKEDThe address is used by another link, or the link is turned off.
422INVALID_BODY, INVALID_SLUG, INVALID_FILTER, INVALID_SETTINGS, TEAM_DOMAIN_NOT_LINKABLEThe request, address, filter, settings, or domain is not valid.

Hosted MCP and Ask Simply

list_view_share_links reads links. draft_create_view_share_link, draft_update_view_share_link, and draft_revoke_view_share_link prepare reviewed changes that apply only after a person approves them. The drafts require configuration:write for OAuth callers at drafting and approval; listing remains schema:read. Cognito-authenticated Ask Simply conversations use the signed-in Team User's current permissions without an OAuth grant. OAuth clients whose grant lacks configuration:write, including the Simply Anywhere app, can list links but cannot draft share-link changes. Links made this way need a readable address, and passwords are set only in the app or the API.

↑