---
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.net/mobula/apis/mobula-api.md) · [All operations](https://skmtc.net/mobula/apis/mobula-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mobula/mobula-api/versions/32f95d9e8ff2/schema)
