---
title: "Get installation JWT token"
method: GET
path: "/api/hosting/v1/accounts/{username}/wordpress/{software}/jwt-token"
tags: ["WordPress: Installations"]
---

# Get installation JWT token

`GET /api/hosting/v1/accounts/{username}/wordpress/{software}/jwt-token`

Return a JWT token used to authenticate requests against the specified
WordPress installation, including its MCP (Model Context Protocol) endpoint.

Provide the WordPress installation (software) identifier in the path. It can
be obtained from GET /api/hosting/v1/wordpress/installations (the `id` field).

## Path parameters

- `username` string, required
- `software` string, required

## Response `200`

Success response

- WordPressV1InstallationsJwtTokenResource
  - `token` string — Signed JWT used to authenticate requests against the WordPress installation
  - `expires_in` integer — Token lifetime in seconds from the moment it was issued
  - `expires_at` string, date-time, nullable — Date-time at which the token expires, or null when not provided
  - `mcp_url` string, nullable — MCP (Model Context Protocol) endpoint URL for the WordPress installation, or null when not provided

## Other responses

- `401` — Unauthenticated response
- `500` — Error response

---

[API](https://skmtc.dev/hostinger/apis/hostinger-api.md) · [All operations](https://skmtc.dev/hostinger/apis/hostinger-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hostinger/hostinger-api/revisions/53ccee45e5eb/schema)
