/bff/contact/generate-api-key
Generates a new API key for a contact, bound to a specific workspace.
ContactpostBffContactGenerate-api-key
Parameters
3 body
Body · 3
idstringRequiredContact external ID.
namestringRequiredDisplay name for the API key.
workspacestringRequiredWorkspace code to associate with the key.
Request
POST /bff/contact/generate-api-key
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.