Nichts gefunden

Kontakt entfernen

API-URL

URL zum Senden von HTTP-Anfragen:

https://portal.bulkgate.com/api/1.0/address-book/remove
Hinweis

Wenn die Anfrage ihr Ziel nicht erreicht, wiederholen Sie sie auf dem Backup-Server backup1.bulkgate.com.

Unterstützte HTTP-Methoden

  • POST - application/json
POST /api/1.0/address-book/remove HTTP/1.1 Host: portal.bulkgate.com Content-Type: application/json

Parametertabelle

PARAMETERNAME WERT PFLICHT STANDARDWERT
application_id Application ID Ja -
application_token Application token Ja -
phone_number Telefonnummer des zu entfernenden Kontakts. Ja -
category Das Adressbuch, mit dem gearbeitet wird. Standardmäßig das Hauptadressbuch des Kontos. Nein main

Beispielanfrage

POST /api/1.0/address-book/remove HTTP/1.1 Host: portal.bulkgate.com Content-Type: application/json { "application_id": 451, "application_token": "NKN02TWE6NfBkfl-your-secret-token-Wf05GaqLIWLW4aBj", "phone_number": "123456789" }

Antwort

Im Erfolgsfall:

{ "data": { "message": "contact_has_been_removed" } }

Im Fehlerfall:

{ "type": "number_not_found", "code": 400, "error": "Number not found", "detail": null } { "type": "invalid_phone_number", "code": 400, "error": "Invalid phone number", "detail": null }

Dabei gilt:

  • type und error (Beschreibung des Fehlers) finden Sie in der Tabelle der Fehlertypen
  • code steht für den HTTP-Fehlercode
  • detail enthält zusätzliche Informationen zum Fehler
War diese Seite hilfreich?