Lead API - Get Offices

Get offices via the Lead API

This guide covers using the Lead API to get office data, other guides available that cover the Lead API are:

Endpoint name: Get Offices Endpoint URL: https://api.lead.pro/api/v103/offices Type: GET

The get offices endpoint provides you with a list of office names and IDs from your Lead management account. These IDs can be used when creating or updating leads if you prefer to explicitly route a lead to a particular office.

An example response from the Get Offices endpoint is

{
   "data": [
       {"id": "1213", "name": "office 1 name"}, 
       {"id": 1214, "name": "office 2 name"}
   ]
}