cURL
curl --request POST \ --url https://api.odin.fun/v1/token/{id}/comment \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "message": "<string>", "community": 0 } '
{ "id": 123, "user": "<string>", "token": "<string>", "time": "2023-11-07T05:31:56Z", "message": "<string>", "reported": false, "blocked": false, "pinned": true, "pinned_time": "2023-11-07T05:31:56Z", "community": 0, "vote": { "upvotes": 123, "downvotes": 123, "total": 123 }, "user_upvote": true, "image": "<string>", "user_username": "<string>", "user_image": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
If 1, comment is in the community section requiring token ownership
Show child attributes