FieldEdge Open API
production
  • production
  • dev
DocsAPIs
DocsAPIs
production
  • production
  • dev
production
  • production
  • dev
  1. Availability
  • Lead
    • Creates a new lead with customer details, appointment preferences, and service information.
      POST
    • Fetches lead details based on the provided lead identifier.
      GET
  • Customer
    • Creates a new customer
      POST
    • Updates an existing customer
      PUT
    • Retrieve customer by phone number
      GET
    • Search customers with optional filters
      GET
    • Retrieve customers based on address details.
      GET
    • Retrieve customer details by ID
      GET
  • CustomerAttachments
    • Upload a file attachment to a customer record
      POST
    • Retrieve attachments for a customer
      GET
  • CustomerNotes
    • Retrieve all notes for a customer
      GET
    • Create a note on a customer record
      POST
    • Update an existing customer note
      PATCH
  • CustomerTags
    • Associate a tag with a customer
      POST
    • Remove a tag from a customer
      DELETE
    • Create a reusable customer tag
      POST
    • Retrieve tags
      GET
  • Item
    • Creates a new inventory item
      POST
    • Retrieve a paginated list of inventory items with optional filters
      GET
    • Bulk update inventory items
      PATCH
    • Updates an existing inventory item
      PATCH
    • Retrieve an inventory item by ID
      GET
  • ItemCategory
    • Create a new item category
    • Retrieve list of item categories
    • Partially update an item category
    • Retrieve item category by id.
  • SalesTaxCode
    • Retrieve list of sales tax codes
  • WorkOrder
    • Retrieve a paginated list of work orders
    • Retrieve a work order by ID
    • Retrieve work orders at a given address, most recent first
    • Create a new work order
    • Update an existing work order
    • Retrieve list of business units
    • Retrieve business unit by id.
    • Retrieve list of lead sources
    • Retrieve lead source by id.
  • Assignments
    • Retrieve all technician assignments for a work order
    • Assign a technician to a work order
    • Update a technician assignment's status
    • Remove a technician from a work order assignment
  • Agreement
    • Retrieve list of agreements
    • Retrieve agreement by id.
  • Invoice
    • Retrieve a paginated list of invoices
    • Retrieve an invoice by ID
    • Create or update the invoice on a work order
  • Quote
    • Retrieve a paginated list of quotes
    • Retrieve a quote by ID
  • Task
    • Retrieve a task bundle by ID
    • Retrieve a list of tasks
  • Warehouse
    • Create a new warehouse
    • Update an existing warehouse
    • Retrieve a paginated list of warehouses
    • Retrieve a warehouse by ID
  • Employee
    • Retrieve a paginated list of employees
    • Retrieve an employee by ID
  • Company
    • Retrieve company name by ID
  • Webhook
    • Register a webhook endpoint to receive event notifications.
    • Delete the registered webhook for the authenticated account.
    • Rotate the HMAC signing secret for the registered webhook.
  • Availability
    • Get the company's available time slots for a task or work order
      GET
    • Get technicians who can do a task in a chosen arrival window
      GET
  • Equipment
    • Retrieve list of installed equipment
    • Retrieve equipment by id
  1. Availability

Get the company's available time slots for a task or work order

GET
/v1/availability/time-slots
Returns, per company calendar day, the company's time slots (arrival windows) where a job of the given length can still be booked. Slots that are full or already over are not returned, so a day can have an empty slots list. Capacity counts technicians' working hours, the required skill, holds, recurring holds (when enabled for the company), the company's reserve percentage, and work already booked — assigned and unassigned. No technician is named.
Send taskId or workOrderId. If both are sent, workOrderId is used and taskId is ignored.
For jobs longer than one slot, a slot is available only if the following slots on the same day are also open, and remainingJobs is the starting slot's count.
All times are UTC; timeZone is the company's zone for display.
Required scope: availability:read

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Query Params

Responses

🟢200
application/json
Time slots retrieved successfully
Bodyapplication/json

🟠400
🟠401
🟠403
🔴500
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.fieldedge.com/open-api/v1/availability/time-slots?taskId=&workOrderId=&businessUnitId=&fromDate=&days=&durationMinutes=' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - One day of time slots for a 2-hour job
{
    "taskId": "7c1e2f0a-3b5d-4c8e-9a10-2f6b8d4e1c33",
    "businessUnitId": "4a9d1c2e-8f7b-4e6a-b5d3-0c1f2e3d4a5b",
    "durationMinutes": 120,
    "timeZone": "Eastern Standard Time",
    "days": [
        {
            "date": "2026-10-13",
            "slots": [
                {
                    "startTime": "2026-10-13T14:00:00Z",
                    "endTime": "2026-10-13T16:00:00Z",
                    "available": true,
                    "remainingJobs": 2
                },
                {
                    "startTime": "2026-10-13T16:00:00Z",
                    "endTime": "2026-10-13T18:00:00Z",
                    "available": true,
                    "remainingJobs": 1
                },
                {
                    "startTime": "2026-10-13T20:00:00Z",
                    "endTime": "2026-10-13T22:00:00Z",
                    "available": true,
                    "remainingJobs": 1
                }
            ]
        }
    ]
}
Modified at 2026-11-18 12:29:55
Previous
Rotate the HMAC signing secret for the registered webhook.
Next
Get technicians who can do a task in a chosen arrival window
Built with