Products/BE Voice/Help

Contacts API for your system (BE Contacts API v1)

Build four small methods on your CRM or contacts database, and BE Voice and BE Messaging can show your contacts: who is calling, who a message is from, and a list to search and dial.

For developers

What it is

The BE Contacts API is a small API that you build on your system: a CRM, a job system, or any database that holds your contacts. BE Voice and BE Messaging then call it to show your contacts: who is calling, who a message is from, and a list to search and dial.

Once it is built, an administrator connects it with two things: your address (for example https://crm.example.com/api/v1) and an API key. See Contacts connection.

The four methods

MethodRequestNeeded?What it does
ReadGET /contacts?cursor=&limit=YesSends the whole list, in pages.
CheckGET /contacts/lookup?number=YesSays who has one phone number.
WritePOST /contactsOptionalAdds a contact under an existing company.
UpdatePATCH /contacts/{id}OptionalChanges a contact.

If you build Write, also build GET /companies?q=, so a new contact can be saved under one of your companies.

There is no delete. Binary Elements products never remove anything in your system.

Leave Write and Update out (answer 404 or 405) and your contacts are read-only in our products.

A contact

{ "id": "c-1042",
  "name": "Sam Lee",
  "company": "Example Pty Ltd",
  "company_id": "a-77",
  "email": "[email protected]",
  "numbers": [ { "number": "+61400000000", "label": "mobile" } ],
  "updated_at": "2026-12-01T03:00:00Z",
  "deleted": false }
  • id and numbers are needed. id is text, unique in your system, and never changes for that contact.
  • name may be empty when company is set, for a company's main number. A contact with neither is left out.
  • label is free text for people to read. We suggest mobile, work, home or other. Nothing is decided from it: whether a number is a mobile is worked out from the number.
  • updated_at is optional.
  • deleted: true tells us to drop the contact from our copy.

Read: the whole list

GET /contacts?limit=500
Authorization: Bearer <key>

200
{ "contacts": [ { "id": "c-1042", "name": "Sam Lee", "numbers": [ { "number": "+61400000000" } ] } ],
  "next_cursor": "page-2" }
  • We ask for 500 contacts a page. Send the full limit on each page.
  • next_cursor is any text of yours. We send it back as cursor to get the next page. Leave it out, or send null, on the last page.
  • We read the whole list every 15 minutes. A contact that is no longer in the list, or is sent with deleted: true, is dropped from our copy.

Check: who has this number

GET /contacts/lookup?number=+61400000000
Authorization: Bearer <key>

200
{ "contacts": [ { "id": "c-1042", "name": "Sam Lee", "company": "Example Pty Ltd",
                  "numbers": [ { "number": "+61400000000", "label": "mobile" } ] } ] }
  • The number arrives in E.164 form, such as +61400000000. Matching it against your own spelling of the number is your job.
  • Answer an empty list when nobody has the number: { "contacts": [] }.
  • When several contacts have the number, put the best match first. A product that shows one name shows the first.
  • We send a Check only for a number that is not in our copy, about once a day for each number nobody has. Expect some repeats, for example when several phones ring at once.
  • We wait 5 seconds for the answer.
  • A contact you answer on Check must also be in Read, or it is dropped again at the next full read.

Write and Update (optional)

POST /contacts
{ "company_id": "a-77", "name": "Sam Lee", "email": "[email protected]",
  "numbers": [ { "number": "+61370000000", "label": "work" } ] }

PATCH /contacts/c-1042
{ "numbers": [ { "number": "+61400000000", "label": "mobile" } ] }
  • Answer 200 with the contact as saved. 201 is also accepted for Write.
  • A new contact is always saved under an existing company. company_id comes from GET /companies?q=, which answers a list such as [ { "id": "a-77", "name": "Example Pty Ltd" } ]. We never create, rename or remove a company.
  • On Update, fields left out stay as they are, and numbers left out are kept, not cleared.
  • We do not retry a Write.

Rules

  • HTTPS only. Every request carries Authorization: Bearer <key>. JSON in and out.
  • A key may be read-only. Answer 403 on Write, Update and Companies for that key.
  • Phone numbers may be in any spelling, such as 0400 000 000 or +61 400 000 000. We turn them into E.164, as Australian numbers when there is no country code. A contact with no usable number is left out.
  • Unknown fields are ignored on our side, and you should ignore fields you do not know. Fields may be added to version 1 later.

Limits

LimitValue
Contacts a page500
Pages read40
Size of one page8 MB
Contacts kept for one business5,000
Length of a name120 characters; longer names are cut
Wait for a Check5 seconds

Errors

Answer any status outside the 200s with a sentence a person can read:

422
{ "detail": "A person can have one mobile number" }

On a 422 the sentence is shown to the user as it is. A list of { "msg": "..." } is also read.

Related

More on BE Voice BE Voice overview Plans & pricing Business VoIP trunks Click-to-call 2FA voice calls Every call answered. First ring, every time. One voice agent. The phone line, or any app. Careful calling, built in BE Voice Answers from your live data, not a script The calls your team never gets to, made for you. Who answers when your customers call Who makes the calls your team never gets to A complete business phone system, without the box on the wall. Good questions, straight answers AI receptionist cost Overflow call handling Integrations Providers compared Business phone system SIP trunks AI receptionist for clinics 3CX alternative Virtual mobile number

Hear it answer on your own number before you decide.