Create a Contact
Create contacts in your Visible account.
If you don't know your company ID you can get it from the URL in the app:
https://app.visible.vc/companies/{company_id}
.
POST
/contacts
curl \
--request POST 'https://api.visible.vc/contacts' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"contact":{"email":"test@example.com","title":"CEO","last_name":"Doe","company_id":"c85cb869-40c0-4b8f-829a-30cdeb673ce0","first_name":"Jane","contact_list_ids":[]}}'
Request example
{
"contact": {
"email": "test@example.com",
"title": "CEO",
"last_name": "Doe",
"company_id": "c85cb869-40c0-4b8f-829a-30cdeb673ce0",
"first_name": "Jane",
"contact_list_ids": []
}
}
Response examples (201)
{
"contact": {
"id": "b9bd9bb5-9b12-48bb-ae93-cdd2eba9af98",
"email": "test@example.com",
"title": "CEO",
"last_name": "Doe",
"company_id": "c85cb869-40c0-4b8f-829a-30cdeb673ce0",
"first_name": "Jane",
"contact_list_ids": []
}
}
Response examples (400)
{
"errors": [
{
"type": "parameter_invalid",
"field": "filter",
"message": "must be an object"
}
]
}
Response examples (401)
{
"errors": [
{
"type": "unauthorized"
}
]
}
Response examples (422)
{
"errors": [
{
"type": "attribute_invalid",
"field": "value",
"message": "required"
}
]
}
Response examples (429)
{
"errors": [
{
"type": "rate_limit_exceeded"
}
]
}