GET
/
v1
/
api-key
API key
curl --request GET \
  --url https://app.loops.so/api/v1/api-key \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "teamName": "My team"
}

Request

No parameters.

Response

Success

success
boolean
required
teamName
string
required
The name of the team the API key belongs to.

Error

A 401 Forbidden will be returned if the API key is invalid.
Deprecated fields will be removed in the future so avoid using them in your code.
success
boolean
required
message
string
required
“Invalid API key”
error
string
deprecated
“Invalid API key”
{
  "success": true,
  "teamName": "My team"
}