Create a new contact for a company
Parameter | Type | Description |
---|---|---|
X-API-KEY | string | Formation API Key (required) |
Content-Type | string | application/json |
Field | Type | Description |
---|---|---|
type | string | Contact type: “customer” or “vendor” |
full_name | string | Full name of the contact |
string | Email address of the contact | |
company_id | string | ID of the company this contact belongs to |
Field | Type | Description |
---|---|---|
status | string | Contact status |
description | string | Description or notes about the contact |
cc_emails | array | Array of CC email addresses |
bcc_emails | array | Array of BCC email addresses |
billing | object | Billing information for the contact |
Field | Type | Description |
---|---|---|
string | Billing email address | |
phone | string | Phone number |
phone_code | string | Phone country code |
iso_code | string | Country ISO code |
country | string | Country name |
address_1 | string | Address line 1 |
address_2 | string | Address line 2 |
postal_code | string | Postal code |
district | string | District |
state | string | State |
province | string | Province |
tax_id | string | Tax identification number |
Parameter | Type | Description |
---|---|---|
success | boolean | Indicates if the operation was successful |
message | string | Additional information about the operation |
data | object | Response data for successful requests |
data.id | string | Unique identifier for the created contact |
data.created_at | integer | Creation timestamp |
data.updated_at | integer | Last update timestamp |
data.type | string | Contact type (“customer” or “vendor”) |
data.status | string | Contact status |
data.full_name | string | Full name of the contact |
data.email | string | Email address |
data.description | string | Contact description |
data.cc_emails | array | CC email addresses |
data.bcc_emails | array | BCC email addresses |
data.billing | object | Billing information |
Formation API key for authentication.
Contact created successfully
The response is of type object
.