---
title: "Subscribe or renew (x402)"
method: POST
path: "/api/agent/subscribe"
---

# Subscribe or renew (x402)

`POST /api/agent/subscribe`

## Request

- Base URL: `https://sesapp.fr`
- URL: `https://sesapp.fr/api/agent/subscribe`
- Auth: none declared

Without PAYMENT-SIGNATURE returns 402 + PAYMENT-REQUIRED. Query `plan=fleet` or `plan=platform` for higher SKUs. Default: Agent 15 USDC. Dev: header `X-Agent-Dev: 0x…` when DEV_MODE is on.

## Query parameters

- `plan` 'agent' | 'fleet' | 'platform'

## Response `200`

JWT and planExpiry

## Other responses

- `402`: Payment required (x402)
- `503`: X402_NOT_CONFIGURED

---

[API](https://skmtc.dev/sesapp/apis/sesapp-agent-api.md) · [All operations](https://skmtc.dev/sesapp/apis/sesapp-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sesapp/apis/sesapp-agent-api/revisions/8d819a96c5bf?raw)
