Headers
-
Unique identifier to allow referencing a particular transaction or event chain
Minimum length is
1, maximum length is36. -
Returns the requested resources translated according to the passed languages (see translatable resources)
Minimum length is
1.
Body
Required
-
Minimum length is
1, maximum length is255. -
Minimum length is
1, maximum length is255. -
Minimum length is
1. -
Additional properties are allowed.
-
ID(s) to be considered for filtering
At least
1but not more than100elements. Minimum length of each is1. -
ID(s) to be considered for filtering
At least
1but not more than100elements. Minimum length of each is1. -
ID(s) to be considered for filtering
At least
1but not more than100elements. Minimum length of each is1. -
ID(s) to be considered for filtering
At least
1but not more than100elements. Minimum length of each is1. -
ID(s) to be considered for filtering
At least
1but not more than100elements. Minimum length of each is1. -
ID(s) to be considered for filtering
At least
1but not more than100elements. Minimum length of each is1. -
ID(s) to be considered for filtering
At least
1but not more than100elements. Minimum length of each is1. -
Values are
OFFICE,ON_LOCATION,PHONE, orVIDEO. -
ID(s) to be considered for filtering
At least
1but not more than100elements. Minimum length of each is1. -
ID(s) to be considered for filtering
At least
1but not more than100elements. Minimum length of each is1. -
Minimum length is
1. -
External ID(s) to be considered for filtering
At least
1but not more than100elements. Minimum length of each is1, maximum length of each is255. -
External ID(s) to be considered for filtering
At least
1but not more than100elements. Minimum length of each is1, maximum length of each is255. -
External ID(s) to be considered for filtering
At least
1but not more than100elements. Minimum length of each is1, maximum length of each is255. -
External ID(s) to be considered for filtering
At least
1but not more than100elements. Minimum length of each is1, maximum length of each is255. -
External ID(s) to be considered for filtering
At least
1but not more than100elements. Minimum length of each is1, maximum length of each is255. -
External ID(s) to be considered for filtering
At least
1but not more than100elements. Minimum length of each is1, maximum length of each is255. -
External ID(s) to be considered for filtering
At least
1but not more than100elements. Minimum length of each is1, maximum length of each is255. -
External ID(s) to be considered for filtering
At least
1but not more than100elements. Minimum length of each is1, maximum length of each is255. -
External ID(s) to be considered for filtering
At least
1but not more than100elements. Minimum length of each is1, maximum length of each is255.
curl \
--request POST 'https://api.staging.pexipengage.com/enterprises/acme/contexts' \
--header "Content-Type: application/json" \
--header "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c" \
--header "X-Correlation-Id: a4f0048e-c983-11ed-afa1-0242ac120002" \
--header "Accept-Language: en *" \
--data '{
"externalId": "ABCD1234",
"appointmentExternalId": "ABCD1234",
"end": "2026-05-04T09:42:00Z",
"metadata": {},
"employeeIds": [
"123"
],
"secondaryEmployeeIds": [
"123"
],
"subjectIds": [
"123"
],
"subjectGroupIds": [
"123"
],
"listingIds": [
"123"
],
"leadSegmentIds": [
"123"
],
"meetingRoomIds": [
"123"
],
"meetingTypes": [
"OFFICE"
],
"customerIds": [
"123"
],
"secondaryCustomerIds": [
"123"
],
"start": "2026-05-04T09:42:00Z",
"employeeExternalIds": [
"ABCD1234"
],
"secondaryEmployeeExternalIds": [
"ABCD1234"
],
"officeExternalIds": [
"ABCD1234"
],
"subjectExternalIds": [
"ABCD1234"
],
"subjectGroupExternalIds": [
"ABCD1234"
],
"listingExternalIds": [
"ABCD1234"
],
"leadSegmentCodes": [
"ABCD1234"
],
"customerExternalids": [
"ABCD1234"
],
"secondaryCustomerExternalIds": [
"ABCD1234"
],
"customers": [
{
"externalId": "ABCD1234",
"customerNumber": "123456",
"email": "john.doe@pexip.com",
"firstName": "John",
"lastName": "Doe",
"company": "Acme Corp",
"language": "da",
"notes": "Lorem ipsum",
"phoneNumber": "+32412345678",
"existing": true,
"timeZone": "Europe/Brussels",
"location": {
"postalCode": "9000",
"countryCode": "BE",
"geolocation": {
"latitude": 51.0479466,
"longitude": 3.6912248
},
"translations": {
"city": [
{
"language": "en",
"value": "Lorem ipsum"
}
],
"state": [
{
"language": "en",
"value": "Lorem ipsum"
}
],
"street1": [
{
"language": "en",
"value": "Lorem ipsum"
}
],
"street2": [
{
"language": "en",
"value": "Lorem ipsum"
}
]
}
}
}
],
"secondaryCustomers": [
{
"externalId": "ABCD1234",
"customerNumber": "123456",
"email": "john.doe@pexip.com",
"firstName": "John",
"lastName": "Doe",
"company": "Acme Corp",
"language": "da",
"notes": "Lorem ipsum",
"phoneNumber": "+32412345678",
"existing": true,
"timeZone": "Europe/Brussels",
"location": {
"postalCode": "9000",
"countryCode": "BE",
"geolocation": {
"latitude": 51.0479466,
"longitude": 3.6912248
},
"translations": {
"city": [
{
"language": "en",
"value": "Lorem ipsum"
}
],
"state": [
{
"language": "en",
"value": "Lorem ipsum"
}
],
"street1": [
{
"language": "en",
"value": "Lorem ipsum"
}
],
"street2": [
{
"language": "en",
"value": "Lorem ipsum"
}
]
}
}
}
]
}'
# Headers
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
X-Correlation-Id: a4f0048e-c983-11ed-afa1-0242ac120002
Accept-Language: en *
# Payload
{
"externalId": "ABCD1234",
"appointmentExternalId": "ABCD1234",
"end": "2026-05-04T09:42:00Z",
"metadata": {},
"employeeIds": [
"123"
],
"secondaryEmployeeIds": [
"123"
],
"subjectIds": [
"123"
],
"subjectGroupIds": [
"123"
],
"listingIds": [
"123"
],
"leadSegmentIds": [
"123"
],
"meetingRoomIds": [
"123"
],
"meetingTypes": [
"OFFICE"
],
"customerIds": [
"123"
],
"secondaryCustomerIds": [
"123"
],
"start": "2026-05-04T09:42:00Z",
"employeeExternalIds": [
"ABCD1234"
],
"secondaryEmployeeExternalIds": [
"ABCD1234"
],
"officeExternalIds": [
"ABCD1234"
],
"subjectExternalIds": [
"ABCD1234"
],
"subjectGroupExternalIds": [
"ABCD1234"
],
"listingExternalIds": [
"ABCD1234"
],
"leadSegmentCodes": [
"ABCD1234"
],
"customerExternalids": [
"ABCD1234"
],
"secondaryCustomerExternalIds": [
"ABCD1234"
],
"customers": [
{
"externalId": "ABCD1234",
"customerNumber": "123456",
"email": "john.doe@pexip.com",
"firstName": "John",
"lastName": "Doe",
"company": "Acme Corp",
"language": "da",
"notes": "Lorem ipsum",
"phoneNumber": "+32412345678",
"existing": true,
"timeZone": "Europe/Brussels",
"location": {
"postalCode": "9000",
"countryCode": "BE",
"geolocation": {
"latitude": 51.0479466,
"longitude": 3.6912248
},
"translations": {
"city": [
{
"language": "en",
"value": "Lorem ipsum"
}
],
"state": [
{
"language": "en",
"value": "Lorem ipsum"
}
],
"street1": [
{
"language": "en",
"value": "Lorem ipsum"
}
],
"street2": [
{
"language": "en",
"value": "Lorem ipsum"
}
]
}
}
}
],
"secondaryCustomers": [
{
"externalId": "ABCD1234",
"customerNumber": "123456",
"email": "john.doe@pexip.com",
"firstName": "John",
"lastName": "Doe",
"company": "Acme Corp",
"language": "da",
"notes": "Lorem ipsum",
"phoneNumber": "+32412345678",
"existing": true,
"timeZone": "Europe/Brussels",
"location": {
"postalCode": "9000",
"countryCode": "BE",
"geolocation": {
"latitude": 51.0479466,
"longitude": 3.6912248
},
"translations": {
"city": [
{
"language": "en",
"value": "Lorem ipsum"
}
],
"state": [
{
"language": "en",
"value": "Lorem ipsum"
}
],
"street1": [
{
"language": "en",
"value": "Lorem ipsum"
}
],
"street2": [
{
"language": "en",
"value": "Lorem ipsum"
}
]
}
}
}
]
}
{
"data": {
"externalId": "ABCD1234",
"appointmentExternalId": "ABCD1234",
"end": "2026-05-04T09:42:00Z",
"metadata": {},
"employeeIds": [
"123"
],
"secondaryEmployeeIds": [
"123"
],
"subjectIds": [
"123"
],
"subjectGroupIds": [
"123"
],
"listingIds": [
"123"
],
"leadSegmentIds": [
"123"
],
"meetingRoomIds": [
"123"
],
"meetingTypes": [
"OFFICE"
],
"customerIds": [
"123"
],
"secondaryCustomerIds": [
"123"
],
"start": "2026-05-04T09:42:00Z",
"id": "123",
"expiresAt": "2026-05-04T09:42:00Z"
}
}