Skip to main content
POST
Create Contact

Create Contact

This endpoint allows you to create a new contact (customer or vendor) for a company in the accounting system.

Headers

Request Body

Required Fields

Optional Fields

Billing Object Fields

Response

Response Parameters

Error Responses

Invalid Request (400)

Unauthorized (401)

Company Not Found (404)

Internal Server Error (500)

Authorizations

X-API-Key
string
header
required

Formation API key for authentication.

Body

application/json
type
enum<string>
required

Contact type

Available options:
customer,
vendor
full_name
string
required

Full name of the contact

email
string<email>
required

Email address

company_id
string
required

Company ID

status
string

Contact status

description
string

Contact description

cc_emails
string<email>[]

CC email addresses

bcc_emails
string<email>[]

BCC email addresses

billing
object

Response

Contact created successfully

success
boolean
Example:

true

message
string
Example:

"Contact created successfully"

data
object
Example: