team.invitations.link
Get the private link of a pending team invitation, to share it another way. Only organization administrators can manage the team. MCP calls also require the accounting:admin scope; the direct API cannot send team invitations or remove members.
POST
/api/v1/accounting/team.invitations.linkPermissions
accounting:readaccounting:writeaccounting:admin
Who can call it
admin
Retries
No idempotency key
MCP
accounting_team_invitations_linkFields
idstring (ID)RequiredThe record's ID.
Example
curl https://app.getoatmilk.com/api/v1/accounting/team.invitations.link \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d"
}'{
"data": { … }
}Try it
Try it
Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.
POST/api/v1/accounting/team.invitations.link
curl https://app.getoatmilk.com/api/v1/accounting/team.invitations.link \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d"
}'More in Administration.