Contacts API

The Contacts API allows partners to programmatically manage contacts (customers and vendors) in the accounting system. This API is designed for partners who want to integrate Clemta’s contact management services into their own platforms.

Authentication

See Authentication for how to authenticate requests.

Rate Limiting

The Contacts API is subject to rate limiting to ensure fair usage and system stability. Please refer to our Rate Limiting documentation for more details.

Available Endpoints

MethodEndpointDescription
POST/contactsCreate a new contact
GET/contactsRetrieve a list of contacts with filtering
GET/contacts/:contact_idRetrieve a specific contact by ID
PATCH/contacts/:contact_idUpdate an existing contact
DELETE/contacts/:contact_idDelete a contact

Contact Types

Contacts can be categorized into two main types:
TypeDescription
customerA customer contact for invoicing and billing
vendorA vendor contact for expense tracking

Contact Status

Contacts can have various statuses depending on their current state in the system. The specific status values may vary based on your account configuration.

Error Codes

CodeDescription
API_KEY_REQUIREDThe API key is required
INVALID_API_KEYThe API key is invalid
ACCESS_DENIEDThe API key does not have permission to access the requested resource
RATE_LIMIT_EXCEEDEDRate limit exceeded
INVALID_REQUESTThe request is invalid or missing required fields
VALIDATION_FAILEDThe request failed validation
COMPANY_NOT_FOUNDThe requested company could not be found
CONTACT_NOT_FOUNDThe requested contact could not be found
INTERNAL_ERRORAn internal server error occurred