Create a typed, versioned landing page
Authorization
Bearer AuthorizationBearer <token>
API key (rlay_live_* or rlay_test_). Invite redemption also accepts a server-derived rlay_session_ bearer for a current user session.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/landing-pages" \ -H "Content-Type: application/json" \ -d '{ "config": { "blocks": [ { "id": "string", "level": 1, "text": "string", "type": "heading" } ], "theme": { "accent_color": "string", "background_color": "string", "font": "sans", "mode": "light", "text_color": "string" }, "version": 1 }, "slug": "string", "title": "string" }'{ "automation_id": "string", "config": { "blocks": [ { "id": "string", "level": 1, "text": "string", "type": "heading" } ], "theme": { "accent_color": "string", "background_color": "string", "font": "sans", "mode": "light", "text_color": "string" }, "version": 1 }, "conversion_url": "http://example.com", "conversions": 0, "created_at": "2019-08-24T14:15:22Z", "enabled": true, "id": "string", "organization_id": "string", "public_url": "http://example.com", "slug": "string", "title": "string", "updated_at": "2019-08-24T14:15:22Z", "visits": 0, "workspace_id": "string"}Found something wrong? Help us improve this page.