Skip to content
Build your own business

Read the company’s Minute enrollment

GET/api/partner/v1/companies/{company_id}/minute-enrollment

Read the company-specific provisioning state. code is populated only while the company has a verified active, exclusively assigned code. Use detail when reconciliation or another action is needed. Keep codes private to the intended company and crew.

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.

Responses

200 · Current enrollment.

application/json

  • state awaiting_agreement | queued | issuing | verifying | reconciling | needs_action | ready | retiring | retired · required
  • detail variant · required
    Fields for detail
    Format 1

    string

    Format 2

    null

  • enrollment_id variant · required
    Fields for enrollment_id
    Format 1

    string · max length 160

    Format 2

    null

  • code variant · required
    Fields for code
    Format 1

    string

    Format 2

    null

pending

{
  "state": "queued",
  "detail": null,
  "enrollment_id": null,
  "code": null
}

active

{
  "state": "ready",
  "detail": null,
  "enrollment_id": "enrollment_demo_01",
  "code": "EXAMPLE-ONLY"
}
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