For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create share code

post

Creates a code to share a device.

Authorizations
AuthorizationstringRequired

BringYour JWT

Body
client_idstringOptional

udid

device_namestringOptional

Name of the device that will be shared to the guest

Responses
200Success
application/json
share_codestringOptional
post/device/create-share-code
POST /device/create-share-code HTTP/1.1
Host: api.bringyour.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 41

{
  "client_id": "text",
  "device_name": "text"
}
200Success
{
  "share_code": "text",
  "error": {
    "message": "text"
  }
}

Was this helpful?