Skip to content
Build your own business

Assign a kit phone to a recorder

PUT/api/partner/v1/companies/{company_id}/kits/{kit_id}/assignment

Use an assigned phone from GET /kits and an active account from GET /recorders for the same company. To move a phone, provide the current account as previous_recorder_id and the receiving account as recorder_id. Set setup_complete to true after setup has been confirmed. Confirming setup again preserves the original timestamp.

Authentication Send your OAuth access token as a Bearer token with the partner.lifecycle scope.

Parameters

  • company_id path · required · string · max length 160

    The partner_company_id from registration, or the operating_company_id of a signed, credited company.

  • kit_id path · required · string · max length 160

    An assigned phone ID from this company's GET /kits.

  • Idempotency-Key header · required · string

    One key per intended change within this OAuth connection. Reuse only with the original method, path, query and JSON body.

Request body

Recorder handoff and optional setup confirmation.

application/json

  • recorder_id string · max length 160 · required
  • previous_recorder_id string · max length 160
  • setup_complete boolean

handoff

{
  "recorder_id": "recorder_demo_01",
  "setup_complete": true
}

reassign

{
  "previous_recorder_id": "recorder_demo_01",
  "recorder_id": "recorder_demo_02"
}

Responses

200 · Current dated assignment. A replay may return the saved request receipt.

Response headers include X-Request-Id.

application/json

Format 1
  • id string · max length 160 · required
  • assigned_at string · date-time · required
  • setup_at variant · required
    Fields for setup_at
    Format 1

    string · date-time

    Format 2

    null

Format 2
  • request_id string · required
  • state processing | complete | reconcile · required
  • http_status integer or null · required
  • result object or null · required

assigned

{
  "id": "assignment_demo_01",
  "assigned_at": "2027-03-02T16:30:00Z",
  "setup_at": "2027-03-02T16:30:00Z"
}
202 · Operation receipt on retry. Inspect http_status and fetch the current resource.

Response headers include X-Request-Id.

application/json

  • request_id string · required
  • state processing | complete | reconcile · required
  • http_status integer or null · required
  • result object or null · required
400 · Invalid input. Correct the request and use a new key for changed input.

application/json

  • error string · required
  • detail string
  • request_id string
401 · Missing, expired, revoked or wrong-resource access token.

application/json

  • error string · required
  • detail string
  • request_id string
403 · The signed account or role lacks access to this operation.

application/json

  • error string · required
  • detail string
  • request_id string
404 · The resource is unknown or outside this account.

application/json

  • error string · required
  • detail string
  • request_id string
409 · The specified phone, recorder or prior assignment is unavailable.

application/json

  • error string · required

refused

{
  "error": "The phone or recorder is unavailable for this company assignment."
}
429 · Rate limit reached. Back off and retry.

application/json

  • error string · required
  • detail string
  • request_id string
503 · Service or provider unavailable. Check the operation receipt before retrying a write.

application/json

  • error string · required
  • detail string
  • request_id string

Download the full OpenAPI specification