---
title: "# Install Token"
method: GET
path: "/v1/agents/install-token"
tags: ["Agents"]
---

# # Install Token

`GET /v1/agents/install-token`

Returns the install token for the given agent type and variant. Variants can be portable or installable for windows agent type,
32bit or 64bit for linux agent type and apple or intel for macos agent type. If agent type is kubernetes, variant is not required.

## Query parameters

- `agent_type` string, required
- `variant` string

## Response `default`

genericErrorSwagger is represents the erroneous cases

- object
  - `error_code` integer — Error Code is optional. It is using for define specific error types.
  - `errors` object — Errors are optional. If there are multiple error, this field gives details.
  - `message` string — Error Message that contains information about error

---

[API](https://skmtc.net/picussecurity/apis/picus-rest-api.md) · [All operations](https://skmtc.net/picussecurity/apis/picus-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/picussecurity/picus-rest-api/versions/cb0d02ee28f8/schema)
