Completed outline before you call this endpoint — if no completed outline exists, the request is rejected with a 400 error.
The build runs asynchronously. The response confirms the build has been queued, but the proposal content will not be ready immediately. Listen for the
Proposal Build Status Changed webhook to know when the build finishes, or poll the proposal status directly.Request
POST /public/proposals/{ProposalId}/ai/build
Headers
Must be
application/json.Must be
application/json.Your API Application Key.
Your User API Key.
Current UTC timestamp in RFC 7231 format.
HMAC-SHA256 signature, Base64-encoded.
Path parameters
Unique identifier of the proposal to build. The proposal must have a completed AI outline; otherwise the request returns a
400 error.Body parameters
Must match the
ProposalId path parameter. Unique identifier of the proposal with a completed AI outline.Response
Success
A200 response confirms the build has been queued.
The ID of the proposal for which the build was triggered.
Initial build status, indicating the job has been queued or is in progress.
Error codes
| Code | Meaning |
|---|---|
| 400 | Bad request — no completed AI outline exists for this proposal. |
| 401 | Not authorized — invalid credentials or incorrect HMAC signature. |
| 403 | Forbidden — your account does not have permission for this API call. |
| 404 | Proposal not found. |
Example
Response