Skip to content
Engage docs
Esc
↑↓navigate↵open⌘Jpreview
On this page

Passing scheduling parameters to the backoffice

Configure Pexip Engage scheduling links with URL parameters to prefill appointments, select participants, and customize the calendar view.

Pexip Engage lets you pass context to the backoffice through URL parameters. You can use these parameters to prefill appointment details, select a customer or employee, and configure the calendar view.

Base URL

Use the following endpoint, replacing :enterprise with your enterprise name:

https://backoffice.pexipengage.com/:enterprise/api/calendar

Passing parameters

Pexip Engage provides ways to pass context through URL parameters.

For example, the following URL opens the side panel with customer 1 preselected and the meeting type set to OFFICE:

https://backoffice.pexipengage.com/pexip/api/calendar?intent=create-appointment&customerId=1&meetingType=OFFICE

Create appointment side panel with the customer and the Office meeting type preselected

Available parameters

All parameters are optional. Some parameters configure the calendar view, while others provide context for appointment creation.

General settings

Parameter Description
intent The action to open. Use create-appointment for the appointment creation side panel. Defaults to calendar. See Intent for all values.
calendarVersion Calendar version: v1 or v2. Defaults to the version configured for your enterprise.
embed Render the embedded calendar view. Accepts true or false. Defaults to false. See Embed.
contextId Context identifier in UUID format.

Customer selection

Use customerId or customerExternalId to preselect an existing customer:

Parameter Description
customerId Preselect an existing customer using their Pexip Engage ID.
customerExternalId Preselect an existing customer using their external ID.

Example with customerExternalId:

https://backoffice.pexipengage.com/pexip/api/calendar?externalCustomerId=ABC123

Customer creation

The customer object supports the following fields. email is required when providing this object; all other fields are optional.

Field Description
email Customer email address. Required.
firstName First name.
lastName Last name.
company Company name.
phoneNumber Phone number.
externalId Customer reference in your external system.
language Language code: da, de, el, en, es, fr, ja, nl, no, or pl.

Example:

https://backoffice.pexipengage.com/pexip/api/calendar?customer.firstName=Pexip&customer.lastName=Engage&customer.email=pexip@engage.com

Appointment details

Parameter Description
start Appointment start date and time in ISO 8601 format, including a UTC offset.
end Appointment end date and time in ISO 8601 format, including a UTC offset.
meetingType Meeting type: OFFICE, ON_LOCATION, PHONE, or VIDEO.
appointmentEmployeeId Preselect an employee using their Pexip Engage ID. Use none to avoid automatically selecting the currently selected employee. This parameter is cleared when navigating away from the side panel.
lockedEmployeeId Employee selection value retained until consumed, including when navigating away from the side panel. Accepts a Pexip Engage employee ID or none.
appointmentExternalId External system reference to save on the Pexip Engage appointment.
subjectId Subject’s Pexip Engage ID.
subjectExternalId Subject’s external ID.
leadSegmentId Lead segment’s Pexip Engage ID.
leadSegmentCode Lead segment code.
listingId Listing’s Pexip Engage ID.
listingExternalId Listing’s external ID.
meetingRoomIds Array of Pexip Engage meeting room IDs to preselect for appointment creation.
meetingRoomExternalIds Array of external meeting room IDs to preselect for appointment creation.
metadata JSON string containing additional data from your external system to pass to the appointment.

Example with metadata:

let searchParams = new URLSearchParams();
searchParams.append("metadata", JSON.stringify({ projectID: "internalProjectID" }));
searchParams.toString(); // ''metadata=%7B%22projectID%22%3A%22internalProjectID%22%7D''

Additional participants

Use these parameters to add secondary customers or employees.

Parameter Description
secondaryCustomerId Array of Pexip Engage customer IDs.
secondaryCustomerExternalId Array of external customer IDs.
secondaryEmployeeId Array of Pexip Engage employee IDs.
secondaryEmployeeExternalId Array of external employee IDs.

Intent

The intent parameter decides which screen of the calendar opens when the link is followed. Without intent, the calendar opens on the calendar view.

Intent Opens
calendar The calendar, without a side panel. This is the default.
create-appointment The side panel to create an appointment, with the details prefilled from the other parameters.
schedule-appointment The appointment scheduler, which follows the scheduling rules and lets the employee pick an available time slot. Requires the Appointment scheduler feature.
new-appointment schedule-appointment when the Appointment scheduler feature is enabled, otherwise create-appointment. Use this when the same link must work for enterprises with and without it.
create-invite The side panel to invite a customer to book an appointment themselves.
create-unavailability The side panel to create an unavailability, blocking time in the employee’s calendar.
meeting-link The side panel to create a meeting link, a booking link that you can share with a customer.

For example, to open the appointment creation side panel for a customer from your external system:

https://backoffice.pexipengage.com/pexip/api/calendar?intent=create-appointment&customerExternalId=CRM-1234&meetingType=VIDEO

Embed

Set embed=true to open the backoffice in embedded mode, for example inside an iframe in your CRM. Embedded mode shows the backoffice with fewer views and less navigation: the main menu is hidden and the calendar fills the page. Users can still open their settings from the calendar toolbar.

The backoffice calendar in embedded mode, without the main navigation

https://backoffice.pexipengage.com/pexip/api/calendar?embed=true

Calendar view

Calendar view parameters control which calendars and date are selected. Employee and meeting room selections for the calendar view are separate from selections for appointment creation.

Parameter Description
date Calendar date in ISO 8601 format, for example 2026-11-10.
view Calendar view: day, work-week, week, or month.
filters Array of calendar filters: appointments, bookable_listings, external_calendars, nonbookable_listings, none, or requests.
officeId Office’s Pexip Engage ID.
officeExternalId Office’s external ID.
employeeId Array of Pexip Engage employee IDs for calendar view preselection.
employeeExternalId Array of external employee IDs for calendar view preselection.
meetingRoomId Array of Pexip Engage meeting room IDs for calendar view preselection.
meetingRoomExternalId External meeting room ID for calendar view preselection.

For example, to open a specific date in the week view:

https://backoffice.pexipengage.com/pexip/api/calendar?intent=calendar&date=2026-11-10&view=week

Dates and URL encoding

Use ISO 8601 dates for date. For start and end, include the time and a UTC offset:

  • UTC: 2026-11-10T09:00:00Z
  • Explicit offset: 2026-11-10T10:00:00+01:00

Properly URL-encode parameter values, including date and time values and JSON metadata. In particular, encode the + in a positive UTC offset as %2B.

Use URLSearchParams to construct and encode query parameters rather than concatenating unencoded values.

Technical reference

The TypeScript interface below describes every supported parameter. Copy it into your codebase to type-check the links you build.

export interface CalendarApiSearchParams {
  /** @default enterprise setting version */
  calendarVersion?: "v1" | "v2";
  /** @default "false" */
  embed?: "true" | "false";
  /** @default "calendar" */
  intent?:
    | "calendar"
    | "create-appointment"
    | "create-invite"
    | "create-unavailability"
    | "meeting-link"
    | "new-appointment"
    | "schedule-appointment";
  /** Context UUID parameter */
  contextId?: string;

  /** customer preselection */
  customerExternalId?: string;
  customerId?: string;
  /** Automatically create and pre-select new customer in Pexip Engage */
  customer?: {
    company?: string;
    email: string;
    externalId?: string;
    firstName?: string;
    language?: "da" | "de" | "el" | "en" | "es" | "fr" | "ja" | "nl" | "no" | "pl";
    lastName?: string;
    phoneNumber?: string;
  };

  /** Calendar View Parameters */
  /**
   * An ISO 8601 date (e.g. "2021-11-07")
   * Note: make sure to properly encode this so the date gets parsed correctly
   * (use https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams)
   */
  date?: string;
  filters?: (
    | "appointments"
    | "bookable_listings"
    | "external_calendars"
    | "nonbookable_listings"
    | "none"
    | "requests"
  )[];
  view?: "day" | "work-week" | "week" | "month";

  officeExternalId?: string;
  officeId?: string;
  /** employee calendar view preselection */
  employeeExternalId?: string[];
  employeeId?: string[];
  /** Meeting room calendar view preselection */
  meetingRoomExternalId?: string;
  meetingRoomId?: string[];

  /** Create View Parameters */
  /**
   * An ISO 8601 date and time string with a UTC offset (e.g. "2021-11-07T07:45:00Z" or "2021-11-07T07:45:00-07:00")
   * Note: make sure to properly encode this so the date gets parsed correctly
   * (use https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams)
   */
  start?: string;

  /**
   * An ISO 8601 date and time string with a UTC offset (e.g. "2021-11-07T07:45:00Z" or "2021-11-07T07:45:00-07:00")
   * Note: make sure to properly encode this so the date gets parsed correctly
   * (use https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams)
   */
  end?: string;
  /**
   * intent: create-{} employee preselection
   * Pass "none" to avoid setting current selected employee when creating an appointment
   */
  /** Upon navigating away from the sidepanel, this parameter will be cleared */
  appointmentEmployeeId?: string; // "none" | "id"
  /** Upon navigating away from the sidepanel, this parameter will be locked until consumed  */
  lockedEmployeeId?: string; // "none" | "id"

  meetingType?: "OFFICE" | "ON_LOCATION" | "PHONE" | "VIDEO";

  /** Will be used to save reference from external systems on Pexip Engage appointment */
  appointmentExternalId?: string;

  subjectId?: string;
  subjectExternalId?: string;

  leadSegmentCode?: string;
  leadSegmentId?: string;
  listingExternalId?: string;
  listingId?: string;
  /** Meeting rooms preselected for appointment creation. */
  meetingRoomExternalIds?: string[];
  meetingRoomIds?: string[];

  /** Add secondary customers / employees **/
  secondaryCustomerExternalId?: string[];
  secondaryCustomerId?: string[];
  secondaryEmployeeExternalId?: string[];
  secondaryEmployeeId?: string[];

  /**
   * This is a JSON string that can be used to pass any additional (non-Pexip) data to the appointment
   * Note: make sure to properly encode this so the date gets parsed correctly
   * (use https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams)
   */
  metadata?: string;
}

Last updated on