cURL
ReportRankCommentExample
curl --request POST \ --url https://api.main.apexscore.ai/api/v1/comments/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "content_type": "report", "object_id": "af2458ce-dce9-42a5-bf4b-13ff91dc48dc", "tag": "rank", "text": "Hi, this comment is extremely valuable"}'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "content_type": "<string>", "commenter": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "full_name": "<string>", "email": "jsmith@example.com", "first_name": "<string>", "last_name": "<string>" }, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "object_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "tag": "<string>", "text": "<string>", "parent": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
25
50
Show child attributes