User Journeys
Update User Journey
Update a User Journey
patch/api/v2/user_journeys/{id}
Path parameters
idstring required
Request body
Example request
{
"journey_id": "123456",
"created_at": "2025-01-01",
"office_location_id": {
"workday": "LOCATION-3-69",
"id": "LOCATION-3-69",
"external_ids": {
"hris_id": "E-1234"
},
"address1": "123 Main St",
"address2": "Suite 200",
"address3": "Building B",
"city": "New York",
"state": "NY",
"region": "Northeast",
"country": "USA",
"postal_code": "10001",
"time_zone": "NZT",
"latitude": 3.12332,
"longitude": 3.12332
},
"custom_fields": {
"id": "1234",
"value": "custom field value",
"name": "custom field name",
"key": "1234"
},
"documents": [
{
"document_type": "offer_letter",
"document_number": "1234",
"document_title": "Offer Letter",
"document_description": "Offer Letter to the Joe",
"issuer": "Issuer",
"issuer_city": "New York",
"issuer_state": "New York",
"issuer_country": "USA",
"issued_date": "2021-10-23",
"expiry_date": "2023-10-23",
"attachments": [
{
"file_name": "abc.pdf",
"file_content_base64": "SGVsbG8gdGhlcmUgOi0pIEZpbmQgYW55dGhpbmcgZXhjaXRpbmc/",
"responses": {
"field_name_1": "abc",
"field_name_2": "cba"
}
}
]
}
]
}Response
The request has succeeded.
Example response
{
"id": "123456898",
"journey_id": "123456",
"journey_type": "pre_offer",
"user_id": "123456",
"created_at": "2025-01-01",
"office_location": {
"workday": "LOCATION-3-69",
"id": "LOCATION-3-69",
"external_ids": {
"hris_id": "E-1234"
},
"address1": "123 Main St",
"address2": "Suite 200",
"address3": "Building B",
"city": "New York",
"state": "NY",
"region": "Northeast",
"country": "USA",
"postal_code": "10001",
"time_zone": "NZT",
"latitude": 3.12332,
"longitude": 3.12332
},
"custom_field_values": {
"id": "1234",
"value": "custom field value",
"name": "custom field name",
"key": "1234"
}
}