POST
/
chat
curl --request POST \
  --url https://api.testnet.crestal.xyz/v1/chat \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "message": "<string>",
  "project_id": "<string>",
  "user_address": "<string>"
}'
{
  "project_id": "<string>",
  "message": "<string>",
  "status": "ONGOING, COMPLETE, CANCEL",
  "target_performance": {},
  "sender": "bot/0x2975b28D83aBE09623e4ceb9522070B8bC10468a",
  "created_at": "<string>"
}

Authorizations

Authorization
string
header
required

JWT-based authentication using bearer token scheme

Body

application/json

Chat message content and associated metadata

Chat message submission parameters

Response

200
application/json

Successfully processed and delivered chat message

Chat message and metadata