API Keys

Create an API key

Creates an API key for the authenticated user. The plaintext key is returned only once.

post/api-keys/create

Request

  • Base URL
    https://api.foudroyer.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

namestring required

Label to identify this key

scopesstring[]

Permissions granted to this key

Example request

{
  "name": "MCP Cursor",
  "scopes": [
    "analytics:read",
    "websites:read"
  ]
}

Response

Created API key. The key field is shown only in this response.

Changes

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