API tokens
List API tokens
GET
Returns the organization's API tokens without their secret values.
cookiecookie
better-auth.session_token<token>Dashboard session cookie
application/json- response
[index: integer]?curl -X GET 'https://api.example.com/api/v1/api-tokens'Example Response
[
{
"id": "string",
"name": "string",
"scope": "read",
"start": "string",
"createdBy": {
"id": "string",
"name": "string"
},
"expiresAt": "2019-08-24T14:15:22Z",
"lastUsedAt": "2019-08-24T14:15:22Z",
"createdAt": "2019-08-24T14:15:22Z"
}
]