cURL
curl --request POST \ --url https://api.urldna.io/v1/chat \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "prompt": "<string>", "response_type": "MARKDOWN", "scan_id": "<string>", "json_output": {} }'
[ { "id": "<string>", "chat_date": "2023-11-07T05:31:56Z", "prompt": "<string>", "response": "<string>", "response_type": "MARKDOWN", "scan_id": "<string>", "status": "PENDING", "json_output": {} } ]
Create a new chat object. This endpoint is only available for PREMIUM users.
Chat object created
The response is of type object[].
object[]