Skip to main content
POST
/
v2
/
contact
Create a new contact
curl --request POST \
  --url https://app.closerx.ai/api/v2/contact/ \
  --header 'Company-Name: <company-name>' \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '
{
  "first_name": "Amandeep (testingg)",
  "last_name": "Singhh",
  "contact_number": "+919999728776",
  "id": "",
  "email": "[email protected]",
  "company_name": "softvel",
  "industry": "IT",
  "custom1": null,
  "custom2": null,
  "custom3": null,
  "custom4": null,
  "tags": [
    {
      "tag_name": "agent_hangup"
    }
  ]
}
'
{
  "success": true,
  "message": "Success",
  "data": {
    "id": 4503,
    "contact_number": "+919999728776",
    "email": "[email protected]",
    "first_name": "Amandeep (testingg)",
    "last_name": "Singhh",
    "company_name": "softvel",
    "industry": "IT",
    "custom1": null,
    "custom2": null,
    "custom3": null,
    "custom4": null,
    "isactive": true,
    "address": null,
    "contact_id": null,
    "tags": [
      {
        "id": 14,
        "tag_name": "agent_hangup"
      }
    ]
  }
}

Authorizations

api_key
string
header
required

Headers

Company-Name
string
required

The schema name for multi-tenancy

Body

application/json
first_name
string
required
Example:

"Amandeep (testingg)"

last_name
string
required
Example:

"Singhh"

contact_number
string
required
Example:

"+919999728776"

id
string
Example:

""

email
string
company_name
string
Example:

"softvel"

industry
string
Example:

"IT"

custom1
string | null
Example:

null

custom2
string | null
Example:

null

custom3
string | null
Example:

null

custom4
string | null
Example:

null

tags
object[]

Response

Contact created successfully

success
boolean
Example:

true

message
string
Example:

"Success"

data
object