Crocodile SDK REST API Reference

The root of the API URL must be set to the following:

https://hub.crocodilertc.net:8443/crocodile-sdk-hub

Each call below uses the URL above as the base path to the call. The following is an example of a full URL for retrieving the current balance of an API key without Subscribers:

https://hub.crocodilertc.net:8443/crocodile-sdk-hub/rest/1.0/Balance

Request Authorization

All JSON requests MUST carry an "Authorization" header in the request to authenticate the client performing the operation. The header should use the following format:

Authorization: CrocSDK <ApiKey>:<AuthToken>

For example, if the API key <ApiKey> has the value myApiKey and the Authentication token <AuthToken> has the value myAuthToken then the authorization header would be the following:

Authorization: CrocSDK myApiKey:myAuthToken