Basic request headers and client id
Basic request headers
The following header parameters are required in each request:
| Header name | Description | Value of current Cryptshare version |
|---|---|---|
X-CS-MajorApiVersion |
This value defines the major API version that should be used. Cryptshare servers may support multiple major api versions simultaneously. |
1 |
X-CS-MinimumMinorApiVersion |
This value defines the minimum minor API version your requests require. If the server does not support your minimum minor API version, it returns an error and not all required endpoints might be available for you. |
10 |
Client id
The Client id is the most important identifier for REST API consumers. It identifies a client and its attached verifications for email addresses. If it is registered for client id based verification in the Cryptshare Administration Interface, it should be treated like a password that could be used for performing various requests for multiple email addresses.
The Client id has to be used in the "X-CS-ClientId" header.
Therefore, a client id is a string that should have a length of 50 to 4000 characters, consisting of lower-case and upper-case letters and numbers.