Skip to navigation

Get Placement Content

Retrieve the content for a placement. The placement type is resolved server-side so callers no longer pick an endpoint by placement type. Returns a JSON:API document whose data resources are self-describing by type: a standard placement returns standardOffer resources (with links, optional included categories, and meta); a batch-activation or group placement returns placementBatch slot resources. Distinguish the two by each resource’s type. Email and push-notification placements are not servable through this endpoint and respond with a 400.
Required scopes: rewards:read

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

organizationIdstringRequired
Your issuer organization ID, provided by Kard
userIdstringRequired
The ID of the user as defined on the issuers system
placementIdstringRequired

Query parameters

includestringOptional

CSV list of included resources in the response (e.g "categories"). Allowed value is categories. Only applies to standard placements (those returning standardOffer resources).

supportedComponentsenumOptional
UI component types to include in the response.

Response

This endpoint returns an object.
Offers Response Objectobject
OR
Batches Response Objectobject

Errors

400
Invalid Request
401
Unauthorized Error
404
Does Not Exist Error
500
Internal Server Error