Get a chat reply
Paragraph's reply to the latest message in a chat. While status is working, the request waits up to about 45 seconds for it to finish.
apiKeyAuthorizationBearer <token>API key for authenticating protected endpoints. Pass as Bearer token in Authorization header.
sessionId*stringThe chat, from POST /v1/chat
Paragraph's reply
application/json- response
sessionId*stringThe chat. Send it with the next message to continue it
status*stringworking while Paragraph is still answering: check again with GET /v1/chat/{sessionId}. failed when the turn stopped before finishing: send the message again
"working""done""failed"reply*|Paragraph's reply to the latest message, so far
files*array<>Files the reply comes with, such as generated images
url*stringOpens this chat in the Paragraph app
curl -X GET "https://example.com/v1/chat/string"{ "sessionId": "string", "status": "working", "reply": "string", "files": [ { "filename": "string", "mime": "string", "url": "string", "label": "string" } ], "url": "string"}Send a chat message POST
Asks Paragraph to do anything it does in the app's chat, such as making a cover for a post or changing the brand, and returns its reply. Leave out `sessionId` to start a new chat, or send one to continue it. The request waits up to about 45 seconds. If Paragraph is still working then, `status` is `working`: check back with `GET /v1/chat/{sessionId}`. The chat also appears in the app. Chat can't publish, schedule, or send, and automations it sets up stay off: approve those in the app or with the `/v1/content` publish and `/v1/schedule` endpoints.
Get authenticated publication GET
Returns the publication associated with the API key used in the request. Useful for verifying your API key and retrieving your publication details.