Tailscale Invites API
The Invites API from Tailscale — 7 operation(s) for invites.
The Invites API from Tailscale — 7 operation(s) for invites.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/tailscale:tailscale-invites-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Tailscale REST Invites API
description: 'REST API for managing Tailscale tailnets, devices, users, ACL policy, DNS, keys, logging, and user/device invites. Authenticated via HTTP Basic Auth with the API token as the username, Bearer token, or OAuth client credentials with scoped access. Source: https://api.tailscale.com/api/v2 (OpenAPI), https://tailscale.com/api'
version: '2'
contact:
name: Tailscale
url: https://tailscale.com/api
servers:
- url: https://api.tailscale.com/api/v2
description: Production
security:
- BearerAuth: []
- BasicAuth: []
tags:
- name: Invites
paths:
/device/{deviceId}/device-invites:
parameters:
- name: deviceId
in: path
required: true
schema:
type: string
get:
tags:
- Invites
summary: List device invites for a device
operationId: listDeviceInvitesForDevice
responses:
'200':
description: OK
post:
tags:
- Invites
summary: Create device invite for a device
operationId: createDeviceInvite
responses:
'201':
description: Created
/tailnet/{tailnet}/user-invites:
parameters:
- name: tailnet
in: path
required: true
schema:
type: string
get:
tags:
- Invites
summary: List tailnet user invites
operationId: listUserInvites
responses:
'200':
description: OK
post:
tags:
- Invites
summary: Create user invite
operationId: createUserInvite
responses:
'201':
description: Created
/user-invites/{userInviteId}:
parameters:
- name: userInviteId
in: path
required: true
schema:
type: string
get:
tags:
- Invites
summary: Get user invite
operationId: getUserInvite
responses:
'200':
description: OK
delete:
tags:
- Invites
summary: Delete user invite
operationId: deleteUserInvite
responses:
'204':
description: Deleted
/user-invites/{userInviteId}/resend:
parameters:
- name: userInviteId
in: path
required: true
schema:
type: string
post:
tags:
- Invites
summary: Resend user invite
operationId: resendUserInvite
responses:
'200':
description: OK
/device-invites/{deviceInviteId}:
parameters:
- name: deviceInviteId
in: path
required: true
schema:
type: string
get:
tags:
- Invites
summary: Get device invite
operationId: getDeviceInvite
responses:
'200':
description: OK
delete:
tags:
- Invites
summary: Delete device invite
operationId: deleteDeviceInvite
responses:
'204':
description: Deleted
/device-invites/{deviceInviteId}/resend:
parameters:
- name: deviceInviteId
in: path
required: true
schema:
type: string
post:
tags:
- Invites
summary: Resend device invite
operationId: resendDeviceInvite
responses:
'200':
description: OK
/device-invites/-/accept:
post:
tags:
- Invites
summary: Accept a device invite
operationId: acceptDeviceInvite
responses:
'200':
description: OK
components:
securitySchemes:
BearerAuth:
type: http
scheme: bearer
description: Tailscale API access token (prefixed "tskey-api-") passed in the Authorization header. Tokens are created in the admin console with 1-90 day expiry, or via OAuth client credentials with scopes.
BasicAuth:
type: http
scheme: basic
description: HTTP Basic Auth with the access token as the username and an empty password.