Skip to main content
GET
/
v1
/
me
Get current account
curl --request GET \
  --url https://api.slng.ai/v1/me \
  --header 'Authorization: Bearer <token>'
{
  "name": "Bruce Wayne",
  "email": "batman@wayne.com",
  "org_id": "7c3e9a14-2b6f-4d80-9e51-1a2b3c4d5e6f",
  "org_name": "Wayne Corp",
  "api_key_label": "batcave laptop",
  "tier": "hobby"
}

Authorizations

Authorization
string
header
required

API key from the SLNG dashboard.

Response

The authenticated account.

The account associated with the authenticated API key.

name
string
required

Display name of the account owner.

Example:

"Bruce Wayne"

email
string<email>
required

Email address of the account owner.

Example:

"batman@wayne.com"

org_id
string<uuid>
required

Unique identifier of the organization the account belongs to.

Example:

"7c3e9a14-2b6f-4d80-9e51-1a2b3c4d5e6f"

org_name
string
required

Display name of the organization.

Example:

"Wayne Corp"

api_key_label
string
required

Label of the API key used to authenticate the request.

Example:

"batcave laptop"

tier
string
required

Plan tier of the organization.

Example:

"hobby"