Skip to content
gist.link ↗

payrollInvite

Query Payroll API — POST https://payroll.api.gist.link/graphql

PUBLIC (invite-token authenticated): minimal invite context for the invite page.

payroll:query:payrollInvite

The calling IAM key must hold this permission (or a wildcard that covers it: payroll:query:* or payroll:*) and the access token must have been minted with audience=payroll. See Permissions.

type Query {
payrollInvite(token: String!): PayrollInvitePublic!
}
Argument Type Required Description
token String! Yes —

PayrollInvitePublic! — see the Payroll types reference.

Terminal window
curl https://payroll.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "query PayrollInvite($token: String!) { payrollInvite(token: $token) { employee_first_name employee_last_name employee_email country expires_at } }",
"variables": {
"token": "example"
}
}
JSON