APIBeta
Account

Get the current account

GET
/v1/me

The account the API key acts as

Authorization

apiKey
headerAuthorizationBearer <token>

The key the team leader created in Redokun, sent as Authorization: Bearer rdk_.... A read key is rejected on every call that writes (any method other than GET, HEAD or OPTIONS).

Response Body

The account the API key acts as

application/json
  1. response
account*

The fields that identify an account wherever one is referenced. A full account representation, if one is ever published, gets its own schema.

links*array<>

The resources related to this one. Follow these links instead of building the URLs yourself, so a change of path does not break the client

Example Request
curl -X GET 'https://api.redokun.com/v1/me'
Example Response
{  "account": {    "id": 0,    "name": "string"  },  "links": [    {      "rel": "string",      "href": "string"    }  ]}