Comments
Get Comments
POST
https://sketchub.in/api/v2/view_comments.php
To obtain list of all comments on project.
Body
project_id
number
Project ID for which you want to view the comments.
email
string
password
string
api_key
string
Your API Key
Response
Pinned messages
Tip: If the message is in format of /pin title:<TITLE HERE> message:<Message HERE>, then it is pinned message by the project author or Sketchub admin. You may follow this method to get pinned messages that format:
Submit Comment
POST
https://sketchub.in/api/v2/post_comment.php
This endpoint will post comment if allowed by the project's configuration.
Body
project_id
number
Project ID for which you want to view the comments.
message
string (0 to 1000 Chars)
Message content.
comment_type
string
The value must be default
email
string
password
string
api_key
string
Your API Key
Response
Mention an user
If you want to mention an user in your message to notify him. You can simply add @user_name
in the message and the server will handle rest.
Delete a comment
POST
https://sketchub.in/api/v2/delete_comment.php
Body
comment_id
number
The comment's unique id
uid
number
The user id who is deleting it.
email
string
password
string
api_key
string
Your API Key
Response
Last updated
Was this helpful?