The Placements API returns personalized content and offers based on user context and behavior. Use this API to display targeted promotions, product recommendations, and custom offers at key moments in your user journey.Documentation Index
Fetch the complete documentation index at: https://docs.mazeedplus.com/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
Authentication
Authenticate your requests by including your API key in thex-publishable-api-key header.
Create a placement
Creates a personalized placement for display to your users.Parameters
Unique identifier for the placement (e.g., “home-page”, “checkout_success”)
User and transaction data for personalization
Returns
The response format depends on theAccept header:
JSON Response (default)
WhenAccept: application/json or no specific HTML accept header is provided, returns a placement object.
HTML Response
WhenAccept: text/html is provided, returns an HTML document directly in the response body with Content-Type: text/html.
Unique identifier for this placement
Name of the template used for rendering
Structured data for native rendering
ISO timestamp of when the placement was rendered
