Flambe docs
API referenceMeal plans

Export a meal plan

Renders the plan for use outside Flambe.

GET
/api/mealplans/{id}/export/{format}

Renders the plan for use outside Flambe.

Authorization

bearerAuth
AuthorizationBearer <token>

A Clerk session JWT. Obtain one with a Clerk frontend SDK (session.getToken()) or, for server-to-server use, with a Clerk machine token. The token's sub claim is the Flambe user id that scopes every request.

In: header

Path Parameters

id*string
Formatuuid
format*string

Output format.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/mealplans/497f6eca-6276-4993-bfeb-53cbbbba6f08/export/ics"
{}