Skip to main content
PUT
Update trip details as leader

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
Example:

207

trip_id
integer<int64>
required
Example:

512

session_id
string
required

Body

application/json
name
string

sometimes|required|string|max:255 plus uniqueness per client.

Example:

"Guatemala Summer 2026"

slug
string

nullable|string|max:255|regex:/^[a-z0-9-]+$/ plus uniqueness per client.

Example:

"guatemala-summer-2026"

description
string | null

nullable|string|max:50000.

destination
string | null

nullable|string|max:255.

start_date
string<date> | null

nullable|date.

end_date
string<date> | null

nullable|date|after_or_equal:start_date.

fundraising_goal
number<float>

sometimes|required|numeric|min:0|max:999999999.99.

status
enum<string>

sometimes|required|in:draft,active,completed,archived,cancelled.

Available options:
draft,
active,
completed,
archived,
cancelled
cover_image_id
integer<int64> | null

nullable|exists:uploads,id.

settings
object | null

nullable|array.

Response

Trip updated.

status
string
Example:

"success"

data
object