Retrieve a Vitals Link
const url = 'https://api.upvio.com/v1/businesses/example/vitals/links/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.upvio.com/v1/businesses/example/vitals/links/example \ --header 'Authorization: Bearer <token>'Retrieve a vitals link by ID.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The ID of the Business.
The ID of the Vitals Link.
Responses
Section titled “Responses”A Vitals Link.
object
object
Unique identifier across the platform.
Time when the resource was created (ISO 8601 format).
Time when the resource was last updated (ISO 8601 format).
The name of the link.
An optional description of the link.
The unique slug used in the link URL.
The status of the link.
The ID of the template this link uses.
The number of scans performed using this link.
The maximum number of scans allowed for this link.
When the link expires, if applicable.
The full URL for this vitals link.
Example
{ "data": { "status": "ACTIVE" }}The Vitals Link ID is malformed.
object
object
The specific error that occurred.
Human-readable description of the error.
Example
{ "error": { "code": 400, "type": "BadRequestError", "title": "Invalid platformId format." }}The API key is missing or invalid, or the Business cannot be accessed with it.
object
object
The specific error that occurred.
Human-readable description of the error.
Example
{ "error": { "code": 403, "type": "UnauthorizedError", "title": "Invalid API token" }}Vitals Link not found.
object
object
The specific error that occurred.
Human-readable description of the error.
Example
{ "error": { "code": 404, "type": "NotFoundError", "title": "Vitals Link not found" }}