Generate a Key
Last updated
Last updated
API keys are generated by making a POST
request to the API key endpoint. Authentication via a bearer token is required to access this endpoint.
After generation a key cannot be retrieved in full, please ensure you make a copy of the key.
POST
https://api.olisystems.com/user/api-key
Headers
Name | Value |
---|---|
Body (Optional)
Name | Optional | Type | Description |
---|---|---|---|
Example Request
Example Response
Content-Type
application/json
Authorization*
Bearer <token>
name
string
A custom name for the API key (max 50 characters).
expiry
number
The expiration date of the API key, specified as an epoch timestamp in milliseconds.