Interacting with Manifold

Interacting with the Manifold API requires a bearer token. Bearer tokens can be obtained using basic auth credentials in a GET request to the /login endpoint:

manifold login
curl -k -u '<username>:<password>' https://<dashboard-ip>/manifold-api/login
{"token":"<token value>"}

Once obtained, the bearer token is valid for 10 minutes and must be present in the headers of subsequent requests in the following format: "Authorization: Bearer <token value>"

An example of the format used to query the user endpoint is below:

manifold user query
curl -k https://<dashboard-ip>/manifold-api/v2/cloud/user -H "Authorization: Bearer <token value>"