klaviyo

Handle Klaviyo Request

Generic handler for Klaviyo API requests.

Args: plan_manager_id: The ID of the plan manager method: The Klaviyo API method to call current_user: The authenticated user making the request

Returns: KlaviyoResponse: The response from the Klaviyo API

Raises: HTTPException: If the method is not supported or if there's an error

post/api/v1/integrations/klaviyo/{plan_manager_id}/{method}

Path parameters

plan_manager_idstring required
methodstring required

Request body

object required

Response

Successful Response

successboolean required
{"stackTrail":"components:schemas:KlaviyoResponse:properties:data:anyOf","oasType":"schema","type":"unknown","title":"Data","nullable":true}
errorstring nullable

Changes

No recorded changes to this endpoint across all 1 revision of this API.