Skip to main content
GET
/
v1
/
files
/
{id}
/
access-links
List access links
curl --request GET \
  --url https://api.shingleai.com/v1/files/{id}/access-links \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "deletedAt": "2023-11-07T05:31:56Z",
      "fileId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "token": "<string>",
      "expiresAt": "2023-11-07T05:31:56Z",
      "createdBy": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ],
  "meta": {
    "pagination": {
      "limit": 123,
      "offset": 123,
      "hasMore": true,
      "total": 123
    }
  }
}

Authorizations

Authorization
string
header
required

API key authentication via Bearer token

Path Parameters

id
string<uuid>
required

File UUID

Example:

"123e4567-e89b-12d3-a456-426614174000"

Query Parameters

limit
number
default:10

Maximum number of items to return (1-100)

Required range: 1 <= x <= 100
Example:

10

offset
number | null
default:0

Number of items to skip

Required range: x >= 0
Example:

0

sortOrder
enum<string>
default:desc

Sort order by creation date

Available options:
asc,
desc
Example:

"desc"

Response

List of access links with pagination metadata

data
object[]
required
meta
object