cURL
curl --request POST \ --url https://api.perscom.io/{version}/users/{user}/combat-records \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "user_id": 123, "document_id": 123, "author_id": 123, "text": "<string>" }'
{ "data": { "id": 123, "user_id": 123, "document_id": 123, "author_id": 123, "text": "<string>", "label": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The API version to use.
v1
v2
attachments
author
author.*
comments
comments.*
document
OK
The response is of type object.
object
Was this page helpful?