Tailscale Invites API

The Invites API from Tailscale — 7 operation(s) for invites.

GitHub OpenAPI

Operations 11

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /device/{deviceId}/device-invites List invites sent to a device · List device invites for a device #
Ask an LLM
“Which invites have been sent to a particular device?”
“Can I see the pending device invites for one node?”
Tell an agent
List the invites sent to device {deviceId}.
Show pending device invites for device {deviceId}.
POST /device/{deviceId}/device-invites Invite a device to a node · Create device invite for a device #
Ask an LLM
“How do I invite a new device to a node?”
“Can I send a device invite to a specific node?”
Tell an agent
Create a device invite for device {deviceId}.
Invite a new device to node {deviceId}.
GET /tailnet/{tailnet}/user-invites List user invites for a tailnet · List tailnet user invites #
Ask an LLM
“Who has been invited to my tailnet?”
“Can I see all pending user invites for a tailnet?”
Tell an agent
List user invites for tailnet {tailnet}.
Show pending invites to my tailnet {tailnet}.
POST /tailnet/{tailnet}/user-invites Invite a user to a tailnet · Create user invite #
Ask an LLM
“How do I invite a person to join my tailnet?”
“Can I send a user invite to a tailnet?”
Tell an agent
Create a user invite for tailnet {tailnet}.
Invite a new person to join tailnet {tailnet}.
GET /user-invites/{userInviteId} Get a user invite · Get user invite #
Ask an LLM
“What are the details of a specific user invite?”
“Can I look up one user invite by ID?”
Tell an agent
Get user invite {userInviteId}.
Show the details of user invite {userInviteId}.
DELETE /user-invites/{userInviteId} Revoke a user invite · Delete user invite #
Ask an LLM
“How do I cancel a user invite I sent?”
“Can I revoke a pending invite to a tailnet?”
Tell an agent destructive · confirm first
Delete user invite {userInviteId}.
Revoke the invite {userInviteId} to my tailnet.
POST /user-invites/{userInviteId}/resend Resend a user invite · Resend user invite #
Ask an LLM
“How do I resend an invitation to someone who never accepted?”
“Can I send a user invite again?”
Tell an agent
Resend user invite {userInviteId}.
Send the invite {userInviteId} to the recipient again.
GET /device-invites/{deviceInviteId} Get a device invite · Get device invite #
Ask an LLM
“What are the details of a specific device invite?”
“Can I look up one device invite by ID?”
Tell an agent
Get device invite {deviceInviteId}.
Show the details of device invite {deviceInviteId}.
DELETE /device-invites/{deviceInviteId} Revoke a device invite · Delete device invite #
Ask an LLM
“How do I cancel an invite sent to a device?”
“Can I revoke a pending device invite?”
Tell an agent destructive · confirm first
Delete device invite {deviceInviteId}.
Revoke the invite {deviceInviteId} to a device.
POST /device-invites/{deviceInviteId}/resend Resend a device invite · Resend device invite #
Ask an LLM
“How do I resend an invitation to a device that never accepted?”
“Can I send a device invite again?”
Tell an agent
Resend device invite {deviceInviteId}.
Send the invite {deviceInviteId} to the device again.
POST /device-invites/-/accept Accept a device invite · Accept a device invite #
Ask an LLM
“How do I accept an invite to join a node?”
“Can I accept a device invite without logging in?”
Tell an agent
Accept this device invite.
Join the node by accepting the invite.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/tailscale:tailscale-invites-api"
All apis
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.

Get an API 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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

tailscale-invites-api-openapi.yml Raw ↑
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.