PilotFoxDocs

Get what a share link opens

GET
/api/v1/share

The site (id, name, domain, time zone), scopes and expiry of the share link whose token the request carries (x-share-token or ?share=); 401 without one.

Authorization

headerx-share-token<token>

A share link's token (the end of its /share/<token> URL): read access to one site with the link's scopes.

Response Body

OK

application/json
  1. response
data*
Example Request
curl -X GET 'https://pilotfox.app/api/v1/share'
Example Response200
{  "data": {    "site": {      "id": "string",      "name": "string",      "domain": "string",      "timezone": "string"    },    "scopes": [      "string"    ],    "expiresAt": "2019-08-24T14:15:22Z"  }}