Skip to content
Build your own business

Track closure requests

GET/api/partner/v1/companies/{company_id}/closure-requests

Read the company's exit status. The request remains open while equipment, enrollment retirement or settlement is outstanding.

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.

  • after query · string · max length 180

    Pass the previous page’s next_cursor unchanged. Omit for the first page.

  • limit query · integer · min 1, max 200

    Maximum number of results in this page. Defaults to 50.

Responses

200 · A page in ascending ID order. A null next_cursor ends the list.

application/json

  • items array of object · required
    Fields for items
    • id string · max length 160 · required
    • state requested | closed | canceled · required
    • reason string · max length 1000 · required
    • created_at string · date-time · required
    • updated_at string · date-time · required
  • next_cursor variant · required
    Fields for next_cursor
    Format 1

    string

    Format 2

    null

  • after variant · required
    Fields for after
    Format 1

    string

    Format 2

    null

page

{
  "items": [
    {
      "id": "closure_demo_01",
      "state": "requested",
      "reason": "The company finished the recording program.",
      "created_at": "2027-03-02T16:30:00Z",
      "updated_at": "2027-03-02T16:30:00Z"
    }
  ],
  "next_cursor": null,
  "after": null
}
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 · Resource state or idempotency conflict.

application/json

  • error string · required
  • detail string
  • request_id string
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