cURL
curl --request POST \ --url https://api.surefeedback.com/api/v1/api-keys \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "name": "<string>", "abilities": [ {} ], "expires_at": "<string>" } '
{ "id": "cc0e8400-e29b-41d4-a716-446655440007", "name": "CI Integration", "plain_key": "sf_AbCdEfGh1234567890...", "abilities": ["comments:read", "sites:read"], "is_active": true, "expires_at": null, "created_at": "2026-03-02T12:00:00Z" }
Generate a new long-lived API key.
plain_key
["comments:read", "comments:write", "sites:read"]
sf_
Was this page helpful?