DocsAPI ReferenceContact/bff/contact/generate-api-key
postContactAdmin BFF

/bff/contact/generate-api-key

Generates a new API key for a contact, bound to a specific workspace.

ContactpostBffContactGenerate-api-key

Parameters

3 body

3 total
Body · 3
idstringRequired

Contact external ID.

namestringRequired

Display name for the API key.

workspacestringRequired

Workspace code to associate with the key.

Request

POST /bff/contact/generate-api-key

post
curl -X POST "https://api.bizkithub.com/bff/contact/generate-api-key" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "id": "example_id",
  "name": "example_name",
  "workspace": "example_workspace"
}'

Response

JSON payload

{
  "success": true,
  "apiKey": "example_apiKey"
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key