Account


The account resource is extremely simple. Much of your account's information is available through the API. Currently, we do not support any any POST requests on this resource and there is only 1 available function.

Retrieve Account Information

Returns several real-time pieces of data regarding your TextCarrier account. The information returned will provide you with insights on: your account as a whole, your current plan, rollover messages and account usage.

GET https://api.textcarrier.com/v1/account

Example response:


       {
           "links":{
              "self":"https://api.textcarrier.com/v1/account"
           },
           "account":{
              "email":"johndoe@gmail.com,",
              "firstName":"John",
              "lastName":"Doe",
              "mobileNumber":"+15554443322",
              "DateJoined":"2014-02-07 04:18:03",
              "lastLogin":"2018-03-26 13:20:35",
              "nextBilling":"2018-05-07 04:18:03",
              "timezone":"-5",
              "maxCharacterLimit":320,
              "rolloverMonths":0,
              "defaultTextNumber":"+18445673333"
           },
           "plan":{
              "name":"The Basic",
              "price":29,
              "totalTexts":500,
              "rollovers":"no"
           },
           "rollovers":[],
           "usage":{
              "totalCredits":500,
              "totalUsedCredits":125,
              "activeGroups":2,
              "totalSubscribers":335
           }
        }