CreateAI REST API

CreateAI REST API

The REST API is the heart of all programmatic interactions with CreateAI. All other methods of interacting, such as the JavaScript and PHP SDKs, are simply wrappers around the REST API to provide an added level of convenience for developers. Familiarizing yourself with how CreateAI REST API works helps you unlock hidden opportunities for your online applications.

Data Formats

All of CreateAI's APIs will return the information that you request in the JSON data format.

PHP & JavaScript SDK

As a convenience, if you are developing a front-end application, we provide SDKs to handle the authentication and retrieval process for you.

Click here to view our SDKs.

Authenticating API requests

At CreateAI, we value the integrity and security of our members' data above all else. In order for your applications to access CreateAI on your behalf, it must be authenticated by sending its requests to your unique API URL with your API key.

GET: https://< API-URL >/< Application >/api/key/< API-KEY >

Click here to get your API URL and your API Key.

Blog API

The Blog API returns enabled blogs, subject to the blog's API cases.

View Blogs

To retrieve the current member's blogs based on the API key, simply call:

GET: https://< API-URL >/blog/api/key/< API-KEY >/case/view

Variables

Variable

Information

page (optional)

The current page number starting from 0.

limit (optional)

The limit per each page result.

current_url (optional)

The current URL requesting the information.

Sample Request

GET: https://< API-URL >/< Application >/api/key/< API-KEY >/case/view/limit/3

Sample Response



                 

Blog Detail

To retrieve the current members's blog post detail based on the API key, simply call:

https://< API-URL >/blog/api/key/< API-KEY >/case/post

Variables

Variable

Information

post_id (required)

Post Id of the requested blog.

share_this (optional)

Enable (1) or Disable (0) social share buttons.

Sample Request

GET: https://< API-URL >/< Application >/api/key/< API-KEY >/case/post

Sample Response