Getting started
Make your first call
This takes about two minutes. You need to be an admin of your brokerage in BrokerPlus, or to ask one for a key. If you want to experiment without touching real data, make a sandbox first and use its key.
1. Create a key
- In BrokerPlus, go to Settings > Developer.
- Select New key, and name it after what will use it, such as "Website lead form".
- Copy the key now. BrokerPlus shows it only once.
Keep the key in an environment variable. Every example on this site reads it from
BROKERPLUS_API_KEY:
Code
2. Check who the key is
GET /v1/me returns the brokerage, the broker the key acts as, and the key itself. It is the
quickest way to check that everything is wired up.
Code
A 401 means the key is wrong or revoked. See Authentication and keys.
3. Read some data
List the first five contacts in the book:
Code
Code
The real response carries more fields on each contact. The API reference lists them all.
Next
- Pick the job you are building on the overview, and follow its guide.
- Read the concepts once: units, pagination, errors, and which requests reach a client. Every guide assumes them.
- Watch the changelog. The API is in beta and changes often.
Last modified on