---
title: "Get Webhook Token"
method: GET
path: "/api/webhooks/{agent_id}/token"
tags: ["webhooks"]
---

# Get Webhook Token

`GET /api/webhooks/{agent_id}/token`

## Request

- Base URL: `https://api.maritime.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maritime.sh/api/webhooks/{agent_id}/token`
- Auth: HTTP bearer

Return the invoke token for an agent you own, plus a ready-to-use URL.

The token is the agent's internal HMAC token (the value its VM already
holds as MARITIME_INTERNAL_TOKEN); it is derived, so nothing is stored
and it stays valid for the agent's lifetime.

## Path parameters

- `agent_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/maritime/apis/maritime-api.md) - [All operations](https://skmtc.dev/maritime/apis/maritime-api/llms.txt) - [OpenAPI document](https://skmtc.dev/maritime/apis/maritime-api/revisions/acd712090ad6?raw)
