Admin API
The Admin APIs are the REST APIs based on HTTP protocol, using which you can get the entire Channelize.io Application data into your Dashboard.
NOTE: For security purposes, ensure that Admin APIs should not be implemented by client-side languages. Find below more details to access Admin APIs.
Base URL
Admin APIs base URL format.
https://api.channelize.io/v2/
Header
Admin APIs header format.
Content-Type: application/json
Authorization: Basic base_64_encode of Private Key
User-Id: USER_ID
Content-Type: Every API request should include
Content-Type
having valueapplication/json
.Authorization: A Base64 encoded Private Key is required in all API requests. Find your Private Key from Channelize.io dashboard. Go to Overview > Application Credentials. The private key should be kept secure. It is meant to be used for server to server interaction and should never be used in the client-side programming language.
Include User-Id in header only when you want to retrieve data for a specific user. Example: Let’s say you want to get all conversations of a user then you have to add User-Id
in header. Otherwise, you will get all conversations occured inside your Channelize.io Application in response.