The Classy API is organized around REST and the REST architectural style to provide developers with a stateless and language agnostic interface. Our API is designed to use HTTP verbs, resource-oriented URLs and common HTTP errors for communication and to convey errors in the API.
| Action | HTTP Method | Idempotent | Description |
|---|---|---|---|
| Create | |
No | Creates a resource record of the corresponding type |
| List | |
Yes | Returns a collection of resources that match the requested resource. Collection requests can be modified to apply filtering rules and responses will handle pagination. |
| Retrieve | |
Yes | Returns comprehensive information for the single resource that matches the given ID. |
| Update | |
Yes | Modifies an existing resource that matches the specified ID. |
| Delete | |
Yes | Deletes an existing resource that matches the specified ID. Deleted resources cannot be retrieved. Some resources may only allow 'soft deletes', in which case you will need to update the resource with the appropriate state or status. Refer to the API reference documentation for the specific resource. |
Most API requests will need to be signed with an Access Token. See Authentication for Access Token usage.
Refer to the Resource Documentation for the specific call you are making to see if an access token is required for your request.
To fetch a single resource, the request:
Example JSON response:
Example request
Example response:
Example request:
Example response:
Example request:
Example response: