EndpointsList offers in workspace

offers

List offers in workspace

Returns the Offers of the Akua-Context Workspace, optionally of one Product, a page at a time in a stable order; pass next_cursor as cursor for the next page.

GET/offers
Authorizationstringheaderrequired

Bearer token for the authenticated caller.

Optional workspace/scope context for the request. Carries a single workspace wire id (ws_…) today. Only needed for broad tokens - a workspace-owned token implies its workspace.

Required string length: 1 - 53

Example: "ws_j572abc123def4"

cursorstring

Pagination cursor from a previous response's next_cursor.

limitintegerdefault:50

Items per page (1-100, default 50)

Required range: 1 <= x <= 100

Example: 50

Required string length: 1 - 55

Response

application/json

List of offers

dataobject[]required
child attributes
data.idstringrequired

Required string length: 4 - 56

data.short_hashstringrequired

The 8-character code of the customer link /i/<short_hash>

Example: "aB3xK9pQ"

data.urlstring<uri>required

The link the seller shares with customers.

Maximum string length: 2048

data.html_urlstring<uri>required

Absolute dashboard URL for this resource. OUTPUT_ONLY.

Maximum string length: 2048

data.workspace_idstringrequired

Required string length: 2 - 53

data.product_idstringrequired

Required string length: 3 - 55

data.product_namestringrequired
data.packageobjectrequired

The Package version the Offer installs.

child attributes
data.package.idstringrequired

Required string length: 1 - 54

data.package.versionstringrequired

Required string length: 1 - 55

data.audienceobjectrequired

Who may redeem: anyone signed in with the link, or only people whose verified email is listed.

data.audience.kindenum<string>required

Available options: anyone-signed-in

data.max_redemptionsintegerrequired
data.redemption_countintegerrequired

Required range: x >= 0

data.expires_atinteger | nullrequired

Unix timestamp (seconds)

Required range: x >= 0

data.statusenum<string>required

Available options: active, archived

data.created_atintegerrequired

Unix timestamp (seconds)

Required range: x >= 0

data.etagstringrequired
has_morebooleanrequired

True if more items exist after this page.

next_cursorstring | nullrequired

Opaque cursor for the next page, or null if no more pages.