Parameters
name type required description
instance_sid string yes The unique identifier for the instance
body object comment body.
Example
Resource/instances/9a0ca50d-e5e3-4544-9b92-979cf278cf1c/commentsTry It!
Authentication

Append your key and the token obtained from either Access/exchange-token or Access/impersonate to the querystring (key=mykey&token=kj123khb123hb123hb123jh123) or to the headers (Authorization:Bearer kj123khb123hb123hb123jh123) of your request.

Post Data
{
  "message":"My message","instance_sid":"44a45054-8508-4366-95af-d3869156d270",
  "subject":"New Discussion Post - data container test (ID: 1355)",
  "attachment":["cef3dd7e-f32f-45fa-bebc-3c2997d6c0c3"],
  "has_recipients":true,"email_recips":["d053e0fb-89ab-4fcb-a4f3-1f91400bd129"],
  "make_private":true,"send_email":true,
  "email_body_template":"A new message: {subject} \r\n From: {posted_by} \r\n {message} \r\n + {link}
  "email_subject_template":"Integrify Comment from {posted_by}: {subject}
}
Response
{"TotalItemCnt": 2, "Items": [
    {
        "CreatedDate": "0001-01-01T00:00:00.000Z",
        "CreatedDateF": "",
        "DeletedDate": "0001-01-01T00:00:00.000Z",
        "DeletedDateF": "",
        "ID": 0,
        "ModifiedDate": "0001-01-01T00:00:00.000Z",
        "ModifiedDateF": "",
        "ObjectPermissions": 79,
        "SID": "20a91486-a5f9-4e34-8169-75e58cbdd19d",
        "AttachmentCount": 0,
        "Attachments": null,
        "CanEdit": true,
        "CommentDate": "2014-10-24T17:32:07.877Z",
        "CommentDateF": "10\/24\/2014 1:32:07 PM",
        "CommentedBy": "System System",
        "CommenterSID": "4e99e0dd-b3b3-4d5d-826d-3d5ae62a16cf",
        "Email": false,
        "HasRecipients": false,
        "InstanceSID": "df36b306-a6c9-4532-8d51-d9f3bbbcd11f",
        "Message": "Pretty darn good!",
        "Private": false,
        "Recipients": [],
        "ResponseSID": "",
        "SubComments": null,
        "Subject": "New Discussion Post - Prefill Process ID (ID: 1251)",
        "ThreadSID": ""
    },
    {
        "CreatedDate": "0001-01-01T00:00:00.000Z",
        "CreatedDateF": "",
        "DeletedDate": "0001-01-01T00:00:00.000Z",
        "DeletedDateF": "",
        "ID": 0,
        "ModifiedDate": "0001-01-01T00:00:00.000Z",
        "ModifiedDateF": "",
        "ObjectPermissions": 79,
        "SID": "f1ea6bcc-26e0-41fb-9174-8dde8cbdd11b",
        "AttachmentCount": 0,
        "Attachments": null,
        "CanEdit": true,
        "CommentDate": "2014-10-24T17:31:56.287Z",
        "CommentDateF": "10\/24\/2014 1:31:56 PM",
        "CommentedBy": "System System",
        "CommenterSID": "4e99e0dd-b3b3-4d5d-826d-3d5ae62a16cf",
        "Email": false,
        "HasRecipients": false,
        "InstanceSID": "df36b306-a6c9-4532-8d51-d9f3bbbcd11f",
        "Message": "How are you today?",
        "Private": false,
        "Recipients": [],
        "ResponseSID": "",
        "SubComments": null,
        "Subject": "New Discussion Post - Prefill Process ID (ID: 1251)",
        "ThreadSID": ""
    }
]}