Service Tokens
Get
Return Infisical Token data
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
headerrequiredAn access token in Infisical
Response
200 - application/json
id
string
requiredname
string
requiredscopes
any
permissions
string[]
requiredlastUsed
string | null
expiresAt
string | null
secretHash
string
requiredencryptedKey
string | null
iv
string | null
tag
string | null
createdAt
string
requiredupdatedAt
string
requiredcreatedBy
string
requiredprojectId
string
requiredworkspace
string
requireduser
object
required_id
string
required__v
number
default: 0Was this page helpful?