Swaps

Get shift swap recommendations

Retrieves recommended shift swaps for the specified shifts. Returns potential swap partners that would allow employees to exchange shifts. Supports filtering by employee IDs and pagination. Can include expanded metadata with location, area, and employee profile information.

post/management/v2/shifts/swap:recommendation

Request

  • Base URL
    https://your-subdomain.deputy.deputy.com/api
  • URL
    https://your-subdomain.deputy.deputy.com/api/management/v2/shifts/swap:recommendation
  • Auth
    API key in header OAuth

Request body

shiftIdsinteger[]
employeeIdsinteger[]
limitinteger
cursorstring
expandMetadataboolean

Response

A successful response.

successboolean

Changes

No recorded changes to this operation across all 1 revision of this API.