Contacts

Create, update, query, and delete contacts.

Create contact

post
/api/open/contact/save

Create a new contact.

Authorizations
X-API-KeystringRequired

API key provided by BizCard. Send it in the X-API-Key header.

Body
requestIdstringOptional

Request ID for tracing.

contactOwnerEmailstringRequired

Owner email of the contact.

firstNamestringRequired
lastNamestringOptional
primaryEmailstringRequired
emailsstring[]Optional
phonesstring[]Optional
companystringOptional
departmentstringOptional
jobTitlestringOptional
countrystringOptional
citystringOptional
externalIdstringOptional

External system ID (unique under the same contactOwnerEmail).

externalRegistrationStatusinteger · enumOptional

External registration status: 0-unregistered, 1-registered.

Possible values:
externalSubscriptionStatusinteger · enumOptional

External subscription status: 0-none, 1-trial, 2-expired, 3-subscribed.

Possible values:
updaterinteger · enumRequired

Who performs the update: 1-UI manual, 2-Agent, 3-API.

Possible values:
updateTimestring · date-timeRequired
Responses
chevron-right
200

Success

application/json
codeintegerRequired

Business status code. 200 means success.

messagestringRequired

Human readable message.

post
/api/open/contact/save
curl

Update contact

post
/api/open/contact/update

Update an existing contact by contactId. Note: emails and phones are append mode.

Authorizations
X-API-KeystringRequired

API key provided by BizCard. Send it in the X-API-Key header.

Body
contactIdstringRequired

Contact ID.

requestIdstringOptional
contactOwnerEmailstringOptional

Owner email can be updated.

firstNamestringOptional
lastNamestringOptional
primaryEmailstringOptional
emailsstring[]Optional

Append mode (server will append).

phonesstring[]Optional

Append mode (server will append).

companystringOptional
departmentstringOptional
jobTitlestringOptional
countrystringOptional
citystringOptional
externalRegistrationStatusinteger · enumOptional

External registration status: 0-unregistered, 1-registered.

Possible values:
externalSubscriptionStatusinteger · enumOptional

External subscription status: 0-none, 1-trial, 2-expired, 3-subscribed.

Possible values:
updaterinteger · enumRequired

Who performs the update: 1-UI manual, 2-Agent, 3-API.

Possible values:
updateTimestring · date-timeRequired
Responses
chevron-right
200

Success

application/json
codeintegerRequired

Business status code. 200 means success.

messagestringRequired

Human readable message.

post
/api/open/contact/update
curl

Query contact

get
/api/open/contact/query

Query a contact by contactId.

Authorizations
X-API-KeystringRequired

API key provided by BizCard. Send it in the X-API-Key header.

Query parameters
contactIdstringRequired
Responses
chevron-right
200

Success

application/json
codeintegerRequired

Business status code. 200 means success.

messagestringRequired

Human readable message.

get
/api/open/contact/query
curl

Delete contact

post
/api/open/contact/delete

Delete a contact by contactId.

Authorizations
X-API-KeystringRequired

API key provided by BizCard. Send it in the X-API-Key header.

Body
requestIdstringOptional
contactIdstringRequired
updaterinteger · enumRequired

Who performs the update: 1-UI manual, 2-Agent, 3-API.

Possible values:
Responses
chevron-right
200

Success

application/json
codeintegerRequired
messagestringRequired
dataany · nullableOptional
post
/api/open/contact/delete
curl
Deprecated

Save or update contact

post
/api/open/contact/saveOrUpdate

If contactId is provided and exists, update; otherwise create. Prefer using /save or /update explicitly for clarity.

Authorizations
X-API-KeystringRequired

API key provided by BizCard. Send it in the X-API-Key header.

Body
contactIdstringRequired

Contact ID.

requestIdstringOptional
contactOwnerEmailstringOptional

Owner email can be updated.

firstNamestringOptional
lastNamestringOptional
primaryEmailstringOptional
emailsstring[]Optional

Append mode (server will append).

phonesstring[]Optional

Append mode (server will append).

companystringOptional
departmentstringOptional
jobTitlestringOptional
countrystringOptional
citystringOptional
externalRegistrationStatusinteger · enumOptional

External registration status: 0-unregistered, 1-registered.

Possible values:
externalSubscriptionStatusinteger · enumOptional

External subscription status: 0-none, 1-trial, 2-expired, 3-subscribed.

Possible values:
updaterinteger · enumRequired

Who performs the update: 1-UI manual, 2-Agent, 3-API.

Possible values:
updateTimestring · date-timeRequired
Responses
chevron-right
200

Success

application/json
codeintegerRequired

Business status code. 200 means success.

messagestringRequired

Human readable message.

post
/api/open/contact/saveOrUpdate
curl

Last updated