Liftbay
API referenceDevices

Add a device by UDID

POST
/v1/orgs/{org}/devices

Registered with the Apple team right away when the team has an App Store Connect key. Ad hoc profiles are re-created before the next internal build.

Authorization

cookielb_session<token>

Dashboard session cookie, set by the sign-in endpoints.

Path Parameters

org*string

Request Body

application/json
  1. body
teamId?string
Match^[A-Z0-9]{10}$
udid*string
Match^([0-9A-Fa-f]{8}-[0-9A-Fa-f]{16}|[0-9A-Fa-f]{40})$
name*string
Length1 <= length <= 50

Response Body

Added

application/json
  1. response
id*string
teamId*string
udid*string
name*string
model*string|null
registeredAtApple*boolean
enabled*boolean
addedBy*string
createdAt*string
curl -X POST "https://example.com/v1/orgs/string/devices" \  -H "Content-Type: application/json" \  -d '{    "udid": "string",    "name": "string"  }'
{  "id": "string",  "teamId": "string",  "udid": "string",  "name": "string",  "model": "string",  "registeredAtApple": true,  "enabled": true,  "addedBy": "string",  "createdAt": "string"}