cURL
curl --request POST \
--url 'https://app.floral.so/api/v1/workspaces/acme-nordic/briefings' \
--header 'Authorization: Bearer $FLORAL_TOKEN' \
--header 'Idempotency-Key: createBriefingV1-20260816-001' \
--header 'Content-Type: application/json' \
--data '{
"additionalContext": "Focus on expansion plans and delivery capacity.",
"companyId": 42
}'const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({companyId: 42})
};
fetch('https://app.floral.so/api/v1/workspaces/{workspaceSlug}/briefings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"briefing": {
"company": {
"id": 42,
"name": "Acme Nordic",
"organizationNumber": "12345678"
},
"content": null,
"createdAt": "2026-08-16T08:00:00.000Z",
"id": 126,
"name": "Acme Nordic briefing",
"status": "PENDING",
"updatedAt": "2026-08-16T08:00:00.000Z",
"version": "v1.eyJpZCI6MTI2LCJyZXNvdXJjZSI6ImJyaWVmaW5nIiwidmVyc2lvbiI6IjIwMjYtMDgtMTZUMDg6MDA6MDAuMDAwWiJ9"
}
}{
"error": {
"code": "INVALID_INPUT",
"message": "The request contains invalid values.",
"requestId": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "UNAUTHENTICATED",
"message": "A valid bearer credential is required.",
"requestId": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "FORBIDDEN",
"message": "The credential does not grant this operation.",
"requestId": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "NOT_FOUND",
"message": "The resource was not found.",
"requestId": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "CONFLICT",
"message": "The requested change conflicts with the current resource state.",
"requestId": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "Too many requests. Retry shortly.",
"requestId": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred.",
"requestId": "550e8400-e29b-41d4-a716-446655440000"
}
}Briefings
Create a briefing
Create a pending briefing for an existing active company and enqueue one generation.
POST
https://app.floral.so
/
api
/
v1
/
workspaces
/
{workspaceSlug}
/
briefings
cURL
curl --request POST \
--url 'https://app.floral.so/api/v1/workspaces/acme-nordic/briefings' \
--header 'Authorization: Bearer $FLORAL_TOKEN' \
--header 'Idempotency-Key: createBriefingV1-20260816-001' \
--header 'Content-Type: application/json' \
--data '{
"additionalContext": "Focus on expansion plans and delivery capacity.",
"companyId": 42
}'const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({companyId: 42})
};
fetch('https://app.floral.so/api/v1/workspaces/{workspaceSlug}/briefings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"briefing": {
"company": {
"id": 42,
"name": "Acme Nordic",
"organizationNumber": "12345678"
},
"content": null,
"createdAt": "2026-08-16T08:00:00.000Z",
"id": 126,
"name": "Acme Nordic briefing",
"status": "PENDING",
"updatedAt": "2026-08-16T08:00:00.000Z",
"version": "v1.eyJpZCI6MTI2LCJyZXNvdXJjZSI6ImJyaWVmaW5nIiwidmVyc2lvbiI6IjIwMjYtMDgtMTZUMDg6MDA6MDAuMDAwWiJ9"
}
}{
"error": {
"code": "INVALID_INPUT",
"message": "The request contains invalid values.",
"requestId": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "UNAUTHENTICATED",
"message": "A valid bearer credential is required.",
"requestId": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "FORBIDDEN",
"message": "The credential does not grant this operation.",
"requestId": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "NOT_FOUND",
"message": "The resource was not found.",
"requestId": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "CONFLICT",
"message": "The requested change conflicts with the current resource state.",
"requestId": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "Too many requests. Retry shortly.",
"requestId": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred.",
"requestId": "550e8400-e29b-41d4-a716-446655440000"
}
}Authorizations
Authenticate with a workspace-pinned Floral personal access token.
Headers
Optional caller-generated correlation ID. Floral returns the effective value in X-Request-ID.
Required string length:
1 - 128Required idempotency key. Exact retries of the same canonical request replay the original status, body, ETag, Location, and request ID for 24 hours.
Required string length:
1 - 255Path Parameters
Slug of the workspace pinned to the credential.
Required string length:
1 - 100Pattern:
^[a-z0-9]+(?:-[a-z0-9]+)*$Body
application/json
An active workspace company and optional bounded generation context. Maximum 65536 bytes.
Response
Briefing generation accepted
Show child attributes
Show child attributes
