Skip to main content
Version: API v1

Kontakt - Adressdaten anlegen

POST/gdpr/contacts/
v1
POST
createGDPRContact

Legt einen Adressdatensatz mit den angegebenen Daten an

Request

Responses

application/json

Adressdatensatz erfolgreich angelegt

  • namestring
    required
  • streetstring
    required
  • houseNumberstring
    required
  • zipCodestring
    required
  • citystring
    required
  • mailstring
    required
  • creationDatestring (datetime)

    Das Erstelldatum im UTC Format

  • typestring

    Ein frei wählbarer Typ, der optional angegeben werden kann.

Usage examples

$ curl \
--fail \
--location \
-X POST \
-d '{"name":"string","street":"string","houseNumber":"string","zipCode":"string","city":"string","mail":"string","creationDate":"string","type":"string"}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v1/gdpr/contacts