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

Content Runner API

To use the Content Runner API, you will need to request an OAuth2 bearer token, then include the returned token in the Authorization header as you submit the appropriate requests to the URIs listed in detail below.

All responses will be in JSON format, and all POST and PATCH requests should be submitted as JSON as well. Any times included in API results will be in Pacific Time (America/Los_Angeles).

Pagination

For those top level resources that return a collection, simply include a "page" query parameter (e.g. /articles?page=2). The response for collections will include the following properties to assist in navigating the collections:

{
    "current_page": 2,
    "last_page": 5,
    "result_count": 100,
    "total_count": 427
}

Available Services

OAuth2

All API actions require that you first request an OAuth2 bearer token to be used with subsequent requests.

POST
/oauth/token Retrieve access token

Account

Get your account details

GET
/account Retrieve your account details (currently only provides account balance)

Articles

View the details of your ordered articles and check status.

GET
/articles Retrieve details for all ordered articles
GET
/articles/{article_id} Retrieve details for specific article
GET
/articles/{article_id}/content Retrieve content and copyscape data for specific article

Orders

View the details of your existing orders and place new orders.

GET
/orders Retrieve details for all orders (and associated articles/Offerings)
POST
/orders Place a new order
GET
/orders/{order_id} Retrieve details for specific order (and associated articles/Offerings)

Style Guides

View and edit your existing Style Guides or create new ones.

GET
/styleguides Retrieve details for all Style Guides
POST
/styleguides Create a new Style Guide
GET
/styleguides/{styleguide_id} Retrieve details for specific Style Guide
PATCH
/styleguides/{style_guide_id} Update existing Style Guide