How do I request my credit balance via the API?

The Request Credit Balance API works with the HTTP request. When you send a HTTP request to our server, you are able to enclose values by using POST and GET variables.

Use the URL below to request your credit balance:

https://api.messagebird.com/api/credits/?username=[username]&password=[password]

Processing the response
From your request, you will get the following results (example):

  • <response>
  • <item>
  • <credits>1300</credits>
  • </item>
  • </response>