Account
Get the current workspace
GET
Returns the workspace and API key making the request, plus your chip balance. Free.
bearerAuthheader
AuthorizationBearer <API key>Create a key in the app under Developers. Keys start with dcd_live_.
Success.
application/json- response
Who you are and how many chips you have.
workspace*The workspace this API key belongs to.
api_key*The API key making this request.
balance*integerChips available to spend right now.
Range
0 <= value <= 9007199254740991request_id*stringId of the request that produced this response. A replayed idempotent response keeps the original id.
curl -X GET 'https://api.diced.si/v1/me' \ -H 'Authorization: Bearer dcd_live_your_key'Example Response
{ "workspace": { "id": "string", "name": "string", "plan": "none" }, "api_key": { "id": "string", "name": "string", "prefix": "string" }, "balance": 0, "request_id": "string"}