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
requiredpermissions
string[]
requiredsecretHash
string
requiredcreatedAt
string
requiredupdatedAt
string
requiredcreatedBy
string
requiredprojectId
string
requiredworkspace
string
requireduser
object
required_id
string
requiredscopes
any
lastUsed
string | null
expiresAt
string | null
encryptedKey
string | null
iv
string | null
tag
string | null
__v
number
default: 0Was this page helpful?