Skip to content
Build your own business

Read lifecycle events

GET/api/partner/v1/events

Read in increasing sequence order. Persist next_cursor after processing. Company access is checked at read time. Finance events require an owner.

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

Parameters

  • cursor query · integer · min 0

    Last processed sequence number. Defaults to 0.

  • limit query · integer · min 1, max 100

    Defaults to 50.

Responses

200 · Scoped event page

application/json

  • events array of object · required
    Fields for events
    • seq integer · min 0 · required
    • event_type string · required
    • resource_id string · required
    • org_id string or null · required
    • state string or null · required
    • observed_at string · date-time · required
  • next_cursor integer · min 0 · required
  • has_more boolean · required

Example

{
  "events": [
    {
      "seq": 72,
      "event_type": "qa.result",
      "resource_id": "rec_example",
      "org_id": "org_example",
      "state": "checked",
      "observed_at": "2031-04-16T09:15:00Z"
    }
  ],
  "next_cursor": 72,
  "has_more": false
}
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