Nichts gefunden

Guthabenstand prüfen

API-URL

URL, an die HTTP-Anfragen gesendet werden:

https://portal.bulkgate.com/api/2.0/advanced/info
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/2.0/advanced/info HTTP/1.1 Host: portal.bulkgate.com Content-Type: application/json

Parametertabelle

PARAMETERNAME WERT PFLICHT STANDARDWERT
application_id Anwendungskennung Ja -
application_token Authentifizierungstoken der Anwendung Ja -

Beispielanfrage

POST /api/2.0/advanced/info HTTP/1.1 Host: portal.bulkgate.com Content-Type: application/json { "application_id": 451, "application_token": "NKN02TWE6NfBkfl-your-secret-token-Wf05GaqLIWLW4aBj" }

Antwort

Bei Erfolg:

{ "data": { "wallet": "bg1805151838000001", "credit": 215.8138, "currency": "credits", "free_messages": 51, "datetime": "2018-06-13T09:57:21+02:00" } }

Bei einem Fehler:

{ "type": "unknown_identity", "code": 401, "error": "Unknown identity / unauthorized / empty application_id", "detail": null }

Dabei gilt:

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