With enmacc connect, you can integrate enmacc into your internal workflow allowing you to have a more efficient and quicker trading process. E.g. it enables an information exchange between your Portfolio Management System (PFM), Risk Management Tool, Pricing Tools or similar systems and enmacc to digitize your energy trading processes.
Example use-cases:enmacc CONNECT provides simple and secure RESTful HTTPS interfaces for exploring and interacting with the enmacc platform from your own applications.
We'll assign an OAuth client_id and client_secret for each of your applications. We additionally give you access to a sandbox environment for development and testing.
Please contact us directly info@enmacc.com
Authenticate your application with enmacc CONNECT. You retrieve an active authorization token with your secure credentials.
Check the POST /authenticate
endpoint for more information.
Make requests to our API endpoints with your OAuth credentials.
enmacc CONNECT uses HTTPS over TLS (HyperText Transfer Protocol Secure) as a secured, bidirectional tunnel for communication.
There are measurements in place to protect the API from abuse. This includes a request quota and throttling using the token-bucket pattern. Every client needs to obtain a valid API key to be able to use the API. This key is not used for authentication but to map the requests to a usage plan. Consider this API key a secret! Do not publish the API key. API keys can be revoked to prevent or stop abuse.
x-api-key
HTTP request header.Every request is counted against your usage plan. The default usage plan is as follows:
These limits are soft-limits. You can request an increase of these limits. Please contact us directly via info@enmacc.com and describe your use-case.
A two-legged OAuth2 approach (using client credentials) is implemented for authentication and results in a JWT access token. OAuth is an open
industry-standard protocol to allow secure authorisation in a simple and standardized manner
for web,
mobile and desktop applications. The necessary credentials are provided by enmacc. Use the POST /authenticate
endpoint with your provided credentials to receive a valid JWT token. This token is needed to authenticate you for every subsequent request.
client-id
, client-secret
and x-api-key
):
POST /authenticate
with your client-id
and client-secret
as parameters. Don't forget to set the x-api-key
HTTP header.access-token
is returned in the response body.x-api-key
: Provided API key for usage plansAuthorization
: "Bearer $access-token
", where $access-token represent the value of the access-token
field of the previous request
x-api-key
and Authorization
HTTP request header.