Skip to main content
Contacts are the business’s vendors (payee) and connected businesses (business). You need contacts:read to read them and contacts:write to change them.

Create a vendor

The answer is 201 with the contact. Only displayName is required. Up to 5 emails are accepted. A bank entered as full routing and account numbers can be paid on both rails. Check the new contact’s paymentReadiness before you pay it. The account number, routing number and tax id are write-only. Reads show bankAccount.last4 and taxInfo.taxIdMask only.

Duplicates

Cleo compares the new contact’s emails and display name with existing contacts. A match answers 409 duplicate_contact:
Send "allowDuplicates": true to create it anyway. The duplicate guard is not a replacement for an Idempotency-Key: send a key so a retried create returns the first contact.

Update a contact

Fields you leave out are not changed. A bank cannot be changed through the API.

Archive and restore

  • POST /v1/contacts/{contactId}/archive hides the contact from default lists and stops payments to it.
  • POST /v1/contacts/{contactId}/unarchive restores it.
Both are safe to repeat. Archiving an archived contact, or restoring an active one, changes nothing. A revoked contact cannot be restored through the API.

Find contacts

GET /v1/contacts takes page, pageSize (default 25, up to 100), type, status and search (name and emails). It returns { items, totalCount }. By default it returns active and archived contacts. Pass status=revoked for revoked ones.

Before you pay a contact

Check paymentReadiness for the rail you will pay on. A vendor whose bank was linked through Plaid reads { "dwolla": true, "cleoPay": false }: Cleo Pay cannot pay into that bank. Pay that vendor on Dwolla, or ask them to add a bank with full numbers. See Contacts.