Create a trip as super-admin

Create a trip on behalf of a traveler, overriding policy validation with an explicit policy and acknowledged violations. Super-admin or write admin with policy overrides enabled.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Trip details, override policy, and acknowledged violations.

values
object
required

Trip values keyed by field (origin, destination, …). Keys are your company's trip-field keys — discover them with GET /trip-fields; they are per-company and must not be copied from an example. Any field whose type is REFERENCE_ADD in GET /trip-fields (e.g. location_abroad, client_address_abroad) takes either free text or the address as parts (street, postalCode, city, country; optional houseNumber, houseNumberAddition, region). An object on any other field returns 400.

string
enum
required
Allowed:
payload
object

Optional integration payload forwarded with the trip.

userAnswers
object

User answers to risk assessment questions.

number

Traveler to create the trip for; defaults to the current user.

number
required

Policy ID to apply, overriding automatic policy matching.

violatedRules
array of strings
required

Keys of the policy rules the super-admin has acknowledged.

violatedRules*
legs
array of objects

Ordered destination legs (multi-destination). PROD-1663.

legs
processKeys
array of strings | null

Which compliance processes this trip may trigger, by process key. Omit or null = all applicable, a list = only those keys, [] = none. Keys: GET /processes; per-trip result: GET /trips/{id}/processes.

Available process keys. Your company can use only the keys linked to it: GET /processes returns that list, and any other key is rejected with 400.

Social security (A1 / certificate of coverage), filed for the country of employment (origin):

KeyCountryProcess
a1-atAustriaA1 certificate (ELDA)
a1-bgBulgariaA1 certificate
a1-chSwitzerlandA1 certificate (ALPS)
a1-cyCyprusA1 certificate
a1-czCzech RepublicA1 certificate
a1-deGermanyA1 certificate
a1-dkDenmarkA1 certificate
a1-frFranceA1 certificate
a1-gb-requestUnited KingdomA1 certificate (the key keeps a legacy "-request" suffix; send it, not the legacy "a1-gb" alias)
a1-nlNetherlandsA1 certificate
a1-plPolandA1 certificate
a1-ptPortugalA1 certificate
a1-seSwedenA1 certificate (FK6220, by post)
long-a1-deGermanyLong-term A1 certificate
aus-deGermanyAusstrahlung
coc-atAustriaCertificate of coverage (ELDA)
coc-chSwitzerlandCertificate of coverage
coc-cyCyprusCertificate of coverage
coc-czCzech RepublicCertificate of coverage
coc-deGermanyCertificate of coverage
coc-frFranceCertificate of coverage
coc-gbUnited KingdomCertificate of coverage
coc-plPolandCertificate of coverage
ssc-statement—Social security statement (replaces an A1)

Posted-worker notifications, filed for the destination country:

KeyCountryProcess
pwd-atAustriaPosted-worker notification
pwd-beBelgiumPosted-worker notification
pwd-bgBulgariaPosted-worker notification
pwd-chSwitzerlandPosted-worker notification
pwd-cyCyprusPosted-worker notification
pwd-czCzech RepublicPosted-worker notification
pwd-deGermanyPosted-worker notification
pwd-dkDenmarkPosted-worker notification
pwd-eeEstoniaPosted-worker notification
pwd-esSpainPosted-worker notification
pwd-fiFinlandPosted-worker notification
pwd-frFrancePosted-worker notification
pwd-grGreecePosted-worker notification
pwd-hrCroatiaPosted-worker notification
pwd-huHungaryPosted-worker notification
pwd-ieIrelandPosted-worker notification
pwd-isIcelandPosted-worker notification
pwd-itItalyPosted-worker notification
pwd-liLiechtensteinPosted-worker notification
pwd-ltLithuaniaPosted-worker notification
pwd-luLuxembourgPosted-worker notification
pwd-lvLatviaPosted-worker notification
pwd-mtMaltaPosted-worker notification
pwd-nlNetherlandsPosted-worker notification
pwd-noNorwayPosted-worker notification
pwd-plPolandPosted-worker notification
pwd-ptPortugalPosted-worker notification
pwd-roRomaniaPosted-worker notification
pwd-seSwedenPosted-worker notification
pwd-siSloveniaPosted-worker notification
pwd-skSlovakiaPosted-worker notification
processKeys
boolean

Defaults to false. When true, the trip's travel reason is still stored and filed, but it never decides whether a notification (PWD) process runs: the reason check against the company's process settings is treated as passed, and travel_reason and its follow-up questions are not requested. Min-trip-days, posting exemptions and the AT high-earner rule still apply.

Combine with processKeys: processKeys chooses which processes may run, this flag stops the reason from vetoing them.

Persisted on the trip, so POST /processes/rerun/{tripId} and later updates keep it; an update without the field leaves it unchanged. Only admin, personal-assistant and travel-manager roles may set it.

Responses

400

A processKeys value is not a process key linked to your company (GET /processes lists them), or the list fails validation (more than 100 keys, duplicates, or a key longer than 64 characters).

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json