cURL
curl --request POST \ --url https://api.perscom.io/{version}/comments/batch \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "resources": [ { "comment": "<string>", "author_id": 123, "model_type": "<string>", "model_id": 123 } ] } '
{ "data": [ { "comment": "<string>", "id": 123, "author_id": 123, "model_type": "<string>", "model_id": 123, "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
author
commentable
Show child attributes
Supports HTML.
OK
The date the resource was created. Stored in UTC.
The date the resource was updated. Stored in UTC.
Was this page helpful?