POST
/
crm
/
contacts
curl --request POST \
  --url https://api.panora.dev/crm/contacts \
  --header 'Content-Type: application/json' \
  --header 'x-connection-token: <x-connection-token>' \
  --data '{
  "first_name": "<string>",
  "last_name": "<string>",
  "email_addresses": [
    {
      "email_address": "<string>",
      "email_address_type": "<string>",
      "owner_type": "<string>"
    }
  ],
  "phone_numbers": [
    {
      "phone_number": "<string>",
      "phone_type": "<string>",
      "owner_type": "<string>"
    }
  ],
  "addresses": [
    {
      "street_1": "<string>",
      "street_2": "<string>",
      "city": "<string>",
      "state": "<string>",
      "postal_code": "<string>",
      "country": "<string>",
      "address_type": "<string>",
      "owner_type": "<string>"
    }
  ],
  "user_id": "<string>",
  "field_mappings": {}
}'
{
  "message": "<string>",
  "error": "<string>",
  "statusCode": 123,
  "data": {
    "name": "<string>",
    "email_address": "<string>",
    "phone_number": "<string>",
    "details": "<string>",
    "field_mappings": {},
    "id": "<string>",
    "remote_id": "<string>",
    "remote_data": {}
  }
}

Headers

x-connection-token
string
required

The connection token

Query Parameters

remote_data
boolean

Set to true to include data from the original CRM software.

Body

application/json

Response

200
application/json

The response is of type object.