-
Notifications
You must be signed in to change notification settings - Fork 62
Post comment
corsacca edited this page May 14, 2019
·
2 revisions
POST
https://example.com/wp-json/dt/v1/{contact||group}/{contact_id||group_id}/comment
Replace example.com
with your domain
Replace {contact||group}
with either contact
or group
Replace {contact_id||group_id}
with the ID of the contact or group.
Parameters
- comment (string) the body of the comment.
- date (string) optional. format "Y-m-d H:i:s"
Returns
- comment_id (int). The ID of the newly created comment
- comment (array). The default wordpress comment. See https://codex.wordpress.org/Function_Reference/get_comment