Create API key

Mints a new MCP API key. The raw token (prefixed ypk_) is returned once, at creation only. At most 10 keys per account (422 plan_limit beyond that).

post/api-keys

Request

  • Base URL: https://app.yoping.me/api/v1
  • URL: https://app.yoping.me/api/v1/api-keys
  • Auth: API key in cookie yp_session

Request body

namestring required
writeboolean

Also grant the 'mcp:write' scope, which admits the key to the MCP write tools such as create_monitor. Off by default.

Response

Key created; token is the raw key, shown only in this response.

Changes

No recorded changes to this operation across all 1 revision of this API.