Skip to main content
POST
Create a fundraising milestone

Authorizations

session_id
string
header
required

Legacy session-id header retained for backwards compatibility with older first-party clients. New integrations should prefer bearerAuth or apiKeyAuth.

Path Parameters

client_id
integer<int64>
required
trip_id
integer<int64>
required
session_id
string
required

Body

application/json
name
string
required

required|string|max:255.

target_amount
number<float> | null
required

nullable|numeric|min:0. At least one of target_amount/target_percent must be set.

due_date
string<date> | null

nullable|date.

target_percent
number<float> | null

nullable|numeric|min:0|max:100. Percent of trip.fundraising_goal.

Response

Milestone created.

status
string
Example:

"success"

data
object