Query
query MyLinearIntegrationToken {
myLinearIntegrationToken {
token
}
}Response
{
"data": {
"myLinearIntegrationToken": {
"token": "string"
}
}
}Queries
myLinearIntegrationToken
Returns a short-lived Linear access token for the current user’s integration, or null if no integration exists. The token is automatically refreshed when it is close to expiry, so callers always receive a usable credential. Use this token to make Linear API calls on behalf of the authenticated user.
QUERY
myLinearIntegrationToken: LinearIntegrationTokenReturns
token
String!
A short-lived OAuth access token that can be used to call the Linear API on behalf of the authenticated user.
Query
query MyLinearIntegrationToken {
myLinearIntegrationToken {
token
}
}Response
{
"data": {
"myLinearIntegrationToken": {
"token": "string"
}
}
}Was this page helpful?

