The Clerk.io API is a REST-like API where both
POST can be used to send requests.
Each request should contain an API version, the endpoint, and, optionally, the arguments for that endpoint.
The version is always
v2 and should be the first part of the URL path. The endpoint is the remainder of the URL path. The arguments are either sent as query parameters for
GET requests, or as a JSON encoded object for
For complex query parameters in
GETrequests (lists, objects etc), the parameter value should be JSON encoded or else it will be treated as a string.
The response from the API is always a JSON encoded data-structure.