GET
/
accounting
/
contacts
/
{contactId}
curl --request GET \
  --url https://api.maesn.dev/accounting/contacts/{contactId} \
  --header 'X-ACCOUNT-KEY: <x-account-key>' \
  --header 'X-API-KEY: <x-api-key>'
{
  "meta": {
    "warnings": [
      "Field not used by target system"
    ],
    "pagination": {
      "total": 123,
      "perPage": 123,
      "currentPage": 123,
      "totalPages": 123
    }
  },
  "data": {
    "id": "1",
    "contactType": "CONTACT_PERSON",
    "companyName": "Company name",
    "contactPersons": [
      {
        "salutation": "Mr",
        "firstName": "John",
        "lastName": "Doe",
        "emailAddresses": [
          {
            "email": "john.doe@company.com",
            "type": "BUSINESS"
          }
        ],
        "phoneNumbers": [
          {
            "number": "+49 7163307056",
            "type": "MOBILE"
          }
        ]
      }
    ],
    "addresses": [
      {
        "addressLine1": "Street",
        "addressLine2": "Building",
        "postalCode": "12345",
        "city": "City",
        "countryCode": "DE",
        "type": "BILLING"
      }
    ],
    "emailAddresses": [
      {
        "email": "john.doe@company.com",
        "type": "BUSINESS"
      }
    ],
    "phoneNumbers": [
      {
        "number": "+49 7163307056",
        "type": "MOBILE"
      }
    ],
    "projectId": "1",
    "updatedDate": "2018-01-01T13:00:00.000Z"
  }
}

Test Api token:

663222ee33ebba4015340680c7685723a0703c2ad953cefaa1536dc1bac02e20

Test Account token:

85b30b510f09120b199a4dbd9111ff7b3aaf28f1f72701418e111a551fb77b4c

Headers

X-API-KEY
string
required

API key

X-ACCOUNT-KEY
string
required

Account key

Path Parameters

contactId
string
required

Query Parameters

rawData
boolean

Response

200 - application/json
meta
object
data
object

Was this page helpful?