DevelopersAPI ReferenceDevices
Enrol A Device
Registers this device's public key so documents can be shared with it. Enrolling the same key twice returns the existing device.
Only available to the Travelyfe apps. Tokens issued to other apps receive forbidden.
AuthorizationBearer <token>
A Travelyfe access token.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/devices" \ -H "Content-Type: application/json" \ -d '{ "publicKey": "string" }'Empty