For more information on using API

GET https://webapi.mymarketing.co.il/api/account/balance

Get email and SMS credit balance.

Request Information

URI Parameters

Body Parameters

None.

Response Information

Resource Description

ApiAccountinfo

Name

Description

Type

Additional information

email

Email credit balance

sms

SMS credit balance

Response Formats

application/json, text/json

Sample:
{
  "email": {
    "credits": 1,
    "percent": 2.1,
    "alert_type": "None"
  },
  "sms": {
    "credits": 1,
    "percent": 2.1,
    "alert_type": "None"
  }
}

application/xml, text/xml

Sample:
<ApiAccountinfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models">
  <email>
    <alert_type>None</alert_type>
    <credits>1</credits>
    <percent>2.1</percent>
  </email>
  <sms>
    <alert_type>None</alert_type>
    <credits>1</credits>
    <percent>2.1</percent>
  </sms>
</ApiAccountinfo>