Welcome to the Syro's Public REST API! Syro offers a robust and secure platform for managing and accessing your secrets through HTTPS requests. This API documentation provides information on how to interact with the API, manage access tokens, handle errors, and understand rate limits.
Endpoint: https://api-production.syro.com/secrets
This endpoint facilitates the extraction of project secrets.
To retrieve project secrets, make a POST request to this endpoint. The request body should be in JSON format and include the following parameters:
Parameters:
accessToken
: The token that was generated from the project settings page, on the web app.Here's an example of a POST request:
curl -X POST <https://api-production.syro.com/secrets> \\\\
-H "Content-Type: application/json" \\\\
-d '{
"accessToken": "<Your-Access-Token>"
}'
Note: all of the access token/API encryption processes use AES256GCM.
The API responds with standard HTTP status codes to indicate the success or failure of a request. Common codes include:
200 OK
: The request was successful.400 Bad Request
: The request was invalid or cannot be served.401 Unauthorized
: The request requires user authentication.