# Prepare a Journey (https://www.getfounderhq.com/docs/journeys/api-reference/prepareJourney)

{/* GENERATED from apps\/docs\/openapi\/founderhq-api.json — do not edit. Regenerate with: pnpm --filter docs generate */}

export default function Layout(props) {
  const { APIPage, OpenAPIPage } = props.components ?? {};
  // "APIPage" is the old name from v10, this allows both for backward compatibility
  const Comp = OpenAPIPage ?? APIPage;
  return (
    <>
      {props.children}
      <Comp document="./openapi/founderhq-api.json" operations={[{"path":"/api/v1/journeys/{journeyId}/prepare","method":"post"}]} showDescription />
    </>
  );
}