Every endpoint in AI writing: 8 operations across 5 resources. Each one takes the same API key and returns the same error shapes as the rest of the API; see Authentication and Errors and limits.
Every path below is relative to https://app.jaicrm.ai. A key only reaches what it was granted when it was created, an endpoint you cannot use answers 403 rather than hiding.
Own
GET/api/ai/own
List own
curl -X GET https://app.jaicrm.ai/api/ai/own
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/ai/own/models
List models
curl -X GET https://app.jaicrm.ai/api/ai/own/models
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/ai/own/test
Create a test
curl -X POST https://app.jaicrm.ai/api/ai/own/test
-H 'Authorization: Bearer YOUR_API_KEY'
PUT/api/ai/own
Change an own
curl -X PUT https://app.jaicrm.ai/api/ai/own
-H 'Authorization: Bearer YOUR_API_KEY'
Status
GET/api/ai/status
List status
curl -X GET https://app.jaicrm.ai/api/ai/status
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/ai/email/{id}/suggest
Create a suggest
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/ai/email/RECORD_ID/suggest
-H 'Authorization: Bearer YOUR_API_KEY'
Compose
POST/api/ai/compose
Create a compose
curl -X POST https://app.jaicrm.ai/api/ai/compose
-H 'Authorization: Bearer YOUR_API_KEY'
Proposal
POST/api/ai/proposal
Create a proposal
curl -X POST https://app.jaicrm.ai/api/ai/proposal
-H 'Authorization: Bearer YOUR_API_KEY'
Something missing or wrong here? Tell us. A question that needed asking usually means a page that needed writing.