Loading...

GET /api/shares/{shareId}

If a customer loses their delivery tracking link, an administrator can retrieve the existing access by ID. The access determines which device or group the customer can view without signing in and during which period.

Check that the device or group matches the delivery, then review the start and expiry times. If the access is still valid, you can share the link from url again.

Request Details

HTTP method GET
Path /api/shares/{shareId}

The example identifiers are fictional. Use the identifiers returned by your account’s list for the resource you want to look up or change.

Request Parameters

Path parameters

ParameterTypeRequiredDescription
shareIdStringRequiredStringYesCopy the id with the shr- prefix from GET /api/shares.

Authentication Required

Requires an administrator with access to Users.

Send the token in the Authorization: Bearer {token} header. See Authentication.

Example Request

GET /api/shares/{shareId} HTTP/1.1 Host: api.plaspy.com Authorization: Bearer {token}

Response Parameters

The Presence column describes an HTTP 200 response. Conditional fields are omitted when they have no value.

The result contains the ID, device or group, and dates in UTC. The url field contains the link the recipient can open during the access period.

FieldTypePresenceDescription
idStringAlwaysStringAlwaysPublic share ID (shr-).
nameStringAlwaysStringAlwaysName of the shared access.
emailStringConditionalStringConditionalAddress for sending the link, if configured.
descriptionStringConditionalStringConditionalDescription of the shared access, if available.
groupStringConditionalStringConditionalGroup ID when sharing a group.
deviceIdStringConditionalStringConditionalTracker ID when sharing one device.
fromDate-timeConditionalDate-timeConditionalStart of the access period, in UTC.
expiresDate-timeAlwaysDate-timeAlwaysEnd of the access period, in UTC.
timeZoneStringConditionalStringConditionalTime zone used to display times, if set.
urlStringConditionalStringConditionalLink the recipient can open during the access period.
creationDate-timeAlwaysDate-timeAlwaysTime the access was created, in UTC.
apiUsageIntegerAlwaysIntegerAlwaysUsage units for this request.
apiDailyUsageIntegerAlwaysIntegerAlwaysAccount usage for the day before this request is added.

Example Successful Response

The sample url is shown as {url}. To share access, copy the link returned by your account.

The example shows an HTTP 200 response with selected fields.

{ "id": "shr-EfGhRXwYmK", "name": "Delivery window", "deviceId": "123456789012345", "from": "2027-01-12T09:00:00", "expires": "2027-01-12T12:00:00", "creation": "2027-01-10T15:45:00", "apiUsage": 1, "apiDailyUsage": 24, "url": "{url}" }

Errors

HTTP statusWhen it occurs
400If the ID is recognized but the shared access cannot be found in the account. If the request quota has been reached, error contains the reason.
401If a valid Bearer token is missing.
403If the user lacks the required permission. The reason appears in error.
404If the route or ID is unrecognized.
500An unexpected error occurred while processing the request.

In an error response that includes success, its value is false and error contains the message.

Example Error Response

{ "success": false, "error": "The shared access was not found." }
Index
Questions?

We answer all support request within 24 business hours approximately, If you have a question that needs an immediate resolution, please contact us by other way.

We answer you in business hours, as soon as possible. We are located in Bogotá, Colombia, time zone (GMT-5).

Last modification: 2026-11-30 11:01:15