Api Documentation
Contact

Contact API

API for retrieving and creating contacts

Endpoints

List contacts

GET /api/v1/contacts

Headers

nametypeexample value
X-AUTHORIZATIONBearer JWT tokeneyJhbGciOiJIUzI1NiJ9.body.signature

Parameters

namerequireddata typedescription
company_profile_idtrueUUIDprofile id
audience_idtrueUUIDprofile id
pagefalseintpage num (default 0)
per_pagefalseintnum results on a single page (default 50)

Responses

Create contact

PUT /api/v1/contacts

Headers

nametypeexample value
X-AUTHORIZATIONBearer JWT tokeneyJhbGciOiJIUzI1NiJ9.body.signature

Example Body

{
  "contact": {
    "standard_personal_infos": [
      {
        "name": "Voornaam",
        "value": "Jur"
      },
      {
        "name": "Achternaam",
        "value": "Jansen"
      },
      {
        "name": "E-mailadres",
        "value": "jur@reuzenpanda.nl"
      },
      {
        "name": "Land",
        "value": "Netherlands"
      },
      {
        "name": "Postcode",
        "value": "6001CH"
      },
      {
        "name": "Plaats",
        "value": "Weert"
      },
      {
        "name": "Straatnaam",
        "value": "Stationsplein"
      },
      {
        "name": "Huisnummer",
        "value": "8"
      },
      {
        "name": "Telefoonnummer",
        "value": "085 111 0055"
      }
    ],
    "time_stamp": 1694614551531,
    "audience": {
      "id": "b2aa1603-d553-4a6c-a89b-be283706c1be",
      "company_profile": {
        "id": "02539024-03ad-4e10-a735-ea6eee1b5d0a"
      }
    },
    "contact_type": "CONSUMER"
  }
}

Responses