Sign in

Create device

documented

Create a new Device resource.

POST /devicesDevicesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.usecopper.com/next/devices" \
  -X POST \
  -H "Authorization: ApiKey {{COPPER_API_KEY}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "X-Signature: {{COPPER_SIGNATURE}}" \
  -H "X-Timestamp: {{TIMESTAMP}}" \
  -d '{"registration_code":"{{$registration_code}}","location":"{{$location}}","label":"{{$label}}","metadata":{{$metadata}}}'