Skip to main content
GET
/
v1
/
contacts
/
{contactId}
Get specific contact
curl --request GET \
  --url https://api.infinity.swiss/v1/contacts/{contactId} \
  --header 'x-api-token: <api-key>'
{
  "contact": {
    "id": "68234731e6074232892d18c4",
    "companyName": "<string>",
    "firstName": "<string>",
    "lastName": "<string>",
    "streetName": "<string>",
    "buildingNumber": "<string>",
    "townName": "<string>",
    "postCode": "3700",
    "position": "<string>",
    "email": "jsmith@example.com",
    "mobile": "<string>",
    "phone": "<string>",
    "website": "<string>",
    "category": "clients",
    "formOfAddress": "<string>",
    "note": "<string>",
    "vatNumber": "<string>",
    "country": "<string>",
    "secondaryAddressLine": "<string>",
    "customerIdentification": "<string>"
  }
}

Authorizations

x-api-token
string
header
required

API token for authentication. Obtain from your Infinity account settings.

Path Parameters

contactId
string
required

The id of the specific contact

Response

The contact is returned.

contact
Contact · object

Represents a contact, such as a supplier, client, partner, lead, etc.

Example:
{
"id": "6474bb0cccc5b63aae56fa15",
"companyName": "Complex GmbH",
"firstName": "Claudia",
"lastName": "Röthlisberger",
"streetName": "Frutigenstrasse",
"buildingNumber": "24",
"townName": "Spiez",
"postCode": "3700",
"country": "Schweiz",
"position": "Leiterin Bereich Metallurgie",
"email": "test@test.com",
"mobile": "079 111 22 33",
"phone": "052 111 22 33",
"website": "complex.swiss",
"category": "clients",
"formOfAddress": "",
"note": "Kontakt durch Startup-Nights.",
"vatNumber": "CHE 123.456.789 MWST",
"customerIdentification": "C-12345"
}