We are happy to assist you with any inquiries concerning our REST API.
We need the following information to help you in the best possible way:
- Request Header
- Request Body
- Response Header
- Response Body
It's easiest to get these values with "cURL". Use one of the following examples and adjust them to your needs. Then send us the results including your call. You can simply use our request form for this.
Alternatively, you can also send us the results in a different format.
Please note, that we need all information mentioned above in any case for debugging.
Examples
GET - REST
|
curl https://rest.cleverreach.com/v2/groups.json -i \ - H "Content-Type: application/json" \ - H 'Authorization: Bearer YOURACCESSTOKEN' |
POST - REST
|
curl https://rest.cleverreach.com/v2/groups.json -i \ - X POST \ - H "Content-Type: application/json" \ - H 'Authorization: Bearer YOURACCESSTOKEN' \ - d '{"name":"rest test group"}' |
PUT - REST
|
curl https://rest.cleverreach.com/v2/groups.json/233127 -i \ - X PUT \ - H "Content-Type: application/json" \ - H 'Authorization: Bearer YOURACCESSTOKEN' \ - d '{"name":"rest test group renamed"}' |
DELETE - REST
|
curl https://rest.cleverreach.com/v2/groups.json/233127 -i \ - X DELETE \ - H "Content-Type: application/json" \ - H 'Authorization: Bearer YOURACCESSTOKEN' |
Example output
|
HTTP/1.1 200 OK
|