Create an API key
Changed onA key never gets more scopes, a higher daily cap, or a higher approval threshold than the key that creates it. Omitted scopes copy the caller. Do not put account:manage or billing:manage on an agent key. Set customer_id to bind the key to one customer. approval_threshold_credits null or omitted means no HTTP threshold and 500 credits on MCP. approval_threshold_enrollments null or omitted means no HTTP threshold and 25 scheduled enrollments on MCP. The key pins the RecruitMCP-Version sent with this request, or the current version.
Scope: account:manage. Acts on the account; keys bound to a customer are refused.
Request
- Base URL: https://api.recruitmcp.com
- URL: https://api.recruitmcp.com/v1/api-keys
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://recruitmcp.com/oauth/authorize, token URL https://recruitmcp.com/oauth/token, scopes: account:manage)
Headers
Optional on this route. At most 128 characters. When present, the same key and body replays the first response for 24 hours. A different body is 409 idempotency_key_reused. A second call waits for the first and replays it. Omit the header to run the request normally.
API version. Defaults to the version the key was created with. Supported: 2026-10-13.
Request body
Response
Created. The secret is shown once.
Example response
{
"id": "key_1a2b3c4d5e6f7a8b9c",
"object": "api_key",
"name": "n8n production",
"prefix": "rmcp_live_ab12",
"kind": "secret",
"scopes": [
"sourcing:read",
"sourcing:spend"
],
"customer_id": null,
"daily_cap_credits": 50,
"approval_threshold_credits": null,
"approval_threshold_enrollments": null,
"api_version": "2026-10-13",
"created_at": "2026-10-13T09:00:00Z",
"last_used_at": null,
"expires_at": null
}Changes
- warning
added the new
approval_forcedenum value to the/response property for the response status - warning
added the new
approval_forcedenum value to the/response property for the response status - warning
added the new
approval_forcedenum value to the/response property for the response status - warning
added the new
approval_forcedenum value to the/response property for the response status
- warning