GET
/
api
/
v2
/
service-token

This endpoint will be deprecated in the near future with the removal of service tokens in Q1/Q2 2024.

We recommend switching to using identities if your client supports it.

Authorizations

Authorization
string
headerrequired

An access token in Infisical

Response

200 - application/json
id
string
required
name
string
required
scopes
any
permissions
string[]
required
lastUsed
string | null
expiresAt
string | null
secretHash
string
required
encryptedKey
string | null
iv
string | null
tag
string | null
createdAt
string
required
updatedAt
string
required
createdBy
string
required
projectId
string
required
workspace
string
required
user
object
required
_id
string
required
__v
number
default: 0