GET
/
api
/
v2
/
service-token

This endpoint is deprecated and will be removed in the future.

We recommend switching to using Machine Identities.

Authorizations

Authorization
string
headerrequired

An access token in Infisical

Response

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

Was this page helpful?