The Platform API provides a RESTful Application Programming Interface for administrators and server-side back-ends to configure and manage their ChatKitty applications. This API lets you create users and channels, send system messages and even delete your application. Everything you see on your ChatKitty dashboard can be controlled with the Platform API.
There are a couple of things you need to start using the Platform API:
Your application's OAuth 2.0 client credentials from your dashboard to authenticate your requests
An HTTP client of your choice to make API calls
In addition to the
Authorization header for authentication, you should also include the following headers in all your requests:
The Platform API may return any of these HTTP error codes:
Bad Request -- Your request is invalid.
Unauthorized -- Your API key is wrong.
Forbidden -- The resource requested is hidden for administrators only.
Not Found -- The specified resource could not be found.
Method Not Allowed -- You tried to access a resource with an invalid method.
Not Acceptable -- You requested a format that isn't json.
Gone -- The resource requested has been removed from our servers.
Too Many Requests -- You're making too many requests.
Internal Server Error -- We had a problem with our server. Try again later.
Service Unavailable -- We're temporarily offline for maintenance. Please try again later.