Skip to content

serviceAccountToken

POST
/auth/token
curl --request POST \
--url https://app.dev.buildtrace.eu/api/auth/token \
--header 'Content-Type: application/json' \
--data '{ "grantType": "example", "clientId": "example", "clientSecret": "example" }'
Media typeapplication/json
object
grantType
required
string
clientId
required
string
clientSecret
required
string

Example generated

{
"grantType": "example",
"clientId": "example",
"clientSecret": "example"
}

OK

Media typeapplication/json
object
accessToken
required
string
tokenType
required
string

Example generated

{
"accessToken": "example",
"tokenType": "example"
}

Invalid credentials

Too many failed attempts recently; try again later

Media typeapplication/json
object
error
required
string

Example generated

{
"error": "example"
}