Other

What this organisation has shared, and whether each link is still live

GEThttps://backend.immut.io/api/v1/share-links

Required scope: documents:read

Revoked and expired links are included by default, because "who had access last month" is a real question.

Parameters

NameInRequiredDescription
resourceTypequerynodocument | folder | workspace
resourceIdquerynoonly links for this resource
activeOnlyquerynotrue hides revoked and expired links
pagequerynodefault 1
limitquerynodefault 20, max 100

Responses

StatusMeaning
200Success Returns: per row: id, resourceType, resourceId, accessLevel, expiresAt, isActive, expired, accessCount (every open), openEventsRecorded and accessLogTruncated (the access log keeps only the newest 200), createdAt. For links you created you also get recipientEmails and openedBy (the emails that actually opened it); for links someone else in the organisation created you get recipientCount and openedByCount instead, because a read key must not enumerate every outside party the organisation has ever dealt with.
400BadRequest
401Unauthorized
403Forbidden
429RateLimited

Example

curl -X GET "https://backend.immut.io/api/v1/share-links" \
  -H "Authorization: Bearer $IMMUT_API_KEY"

Generated from the immut API contract, version 1.14.0. Machine-readable: this page as markdown · everything in one file · OpenAPI