Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/contentr/api.contentrunner.com/laravel/helpers.php on line 298
Account

Account API

GET/account

Get the details of your Content Runner account. Currently the API only supports checking your account balance using this endpoint. This can be used to confirm that you have sufficient funds available before placing an order.

Request

Request Headers

Header Value
Content-Type application/json
Accept application/json
Authorization Bearer (using bearer token from /oauth/token)

Response

Response Status Codes

Code Description
200 OK
400/401 Unauthorized
403 Forbidden
500 Internal Server Error

Example Successful Response

{
    "account_balance": "9160.00"
}

Example Error Response

{
    "error": "unauthorized",
    "error_description": "Token not valid"
}