---
title: "Create a new API key for the MPP agent. Payer wallet must match the subscription wallet. Returns the new api_key and user_id. Each key works with both REST (x-api-key header) and WebSocket streams."
method: GET
path: "/agent/mpp/api-keys/create"
tags: ["Agent"]
---

# Create a new API key for the MPP agent. Payer wallet must match the subscription wallet. Returns the new api_key and user_id. Each key works with both REST (x-api-key header) and WebSocket streams.

`GET /agent/mpp/api-keys/create`

Create a new API key for the MPP agent. Payer wallet must match the subscription wallet. Returns the new api_key and user_id. Each key works with both REST (x-api-key header) and WebSocket streams.

## Response `200`

Successful response

## Other responses

- `402` — Payment Required

---

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