API responses
CloudOnex API calls return HTTP status codes. Some API calls also return JSON response bodies that include information about the resource. HTTP status codes Each REST API request returns a success or error HTTP status code. Success 200 OK The request succeeded. 201 Created A POST method successfully created a resource. If the resource was already created by a previous execution of the same meSome readersMake your first API call
Step 1: Create an Access Token Go To Settings API Access & generate an API Key (Access Token) Step 2: Use Postman to Test API Download Postman for your operating system, and open Postman. Enter following informations- Method: GET Endpoint: http://demo.cloudonex.com/api/v2/customers On the Authorization tab, select Bearer Token & enter API key Click the Send button It will look like this- (https://storage.crisp.chat/users/helpdesk/websitFew readersAPI requests
To construct a REST API request, combine these components: The HTTP method GET Requests data from a resource. POST Submits data to a resource to process. PUT Updates a resource. PATCH Partially updates a resource. DELETE Deletes a resource. The URL to the API service The URL is your application url/api/v2/ For instance: http://demo.cloudonex.com/api/v2/ The URI to the resource The resource to query, submit data to, update, or delete. For instance: /v2/apFew readersAPI Authentication
The CloudOnex Business Suites APIs are HTTP-based RESTful APIs that use Access Token for authorization. API request and response bodies are formatted in JSON. Creating Access Token To create api access token, Go To Settings API Access Write a label name anything to identify & click submit. An access token will be generated. Authentication using Access Token API endpint URL: api/v2/ Sample API Call-Few readers