Tailscale
Devices, users, keys, ACLs and DNS of the tailnet
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- API access token (tskey-api-…)SecretRequired
Where to find them
At login.tailscale.com/admin/settings/keys click “Generate access token…” (you must be an Owner, Admin, IT admin or Network admin). Choose the expiry (1 to 90 days; when it expires you will need to generate another one) and copy the token (tskey-api-…).
Tools (1)
Tailscale API request
TAILSCALE_SEND_REQUESTAuthenticated call to the Tailscale API (https://api.tailscale.com/api/v2). Any endpoint of the API is allowed. Examples (- is the tailnet of the token): GET /tailnet/-/devices, GET /device/{id}?fields=all, POST /device/{id}/authorized {"authorized": true}, POST /device/{id}/tags {"tags": ["tag:server"]}, GET /tailnet/-/users, GET /tailnet/-/keys, GET /tailnet/-/acl, GET /tailnet/-/dns/nameservers, DELETE /device/{id}.
Required scopes
No scopes required
Input
Tailscale API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

