Skip to content
API console (try a request with your own key)Get early access

Get a view link

GET
/v1/view-links/{viewLinkId}
VIEW_LINK_ID=3b241101-e2bb-4255-8caf-4136c566a962 # the viewLinkId the link was made with
curl -sS "https://api.speccapture.com/v1/view-links/$VIEW_LINK_ID" \
-H "Authorization: Bearer $SPECCAPTURE_API_KEY"

The link as GET /v1/view-links lists it: whether it still opens its sheet (status), when it expires or was withdrawn, how often it was opened. Never its viewUrl. Another workspace’s link, a deleted job’s, or an id nobody issued is 404 not_found. A live key acting as the workspace’s owner or an admin.

viewLinkId
required
string format: uuid

OK

Media typeapplication/json
object
viewLinkId
required
string format: uuid
jobId
required
string format: uuid
sheetNumber
required
integer format: int32
fileName
required
string
status
required
Allowed values: active expired withdrawn
createdAt
required
string format: date-time
expiresAt
required
string format: date-time
withdrawnAt
required
null | string format: date-time
openCount
required
integer format: int32
lastOpenedAt
required
null | string format: date-time
createdBy
required
object
kind
required
Allowed values: person apiKey
name
required
null | string

Forbidden: a problem with a stable code. See Errors for every code and what to do about it.

Media typeapplication/problem+json

Every error: a problem with a stable code. https://speccapture.com/docs/api/errors lists every code.

object
type

A link to the code’s entry in the docs.

null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
code

What went wrong, as a stable code to branch on: a published code never changes meaning.

string
traceId

This request’s trace: quote it when asking for help.

string

Not Found: a problem with a stable code. See Errors for every code and what to do about it.

Media typeapplication/problem+json

Every error: a problem with a stable code. https://speccapture.com/docs/api/errors lists every code.

object
type

A link to the code’s entry in the docs.

null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
code

What went wrong, as a stable code to branch on: a published code never changes meaning.

string
traceId

This request’s trace: quote it when asking for help.

string