> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help-lgallstars.incenteev.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Technical documentation Incenteev WebHook

****Introduction****

The WebHook allows to receive, for a specific event, a HTTP POST request on a configured URL. This request is always composed by an "action" field that defines the event.

New posts are identified with the value ****feed_item_new**** in the request action field. It includes the feed_item (post) object composed by several fields and objects (references, author, newsfeed).  Publication changes are identified by an action feed_item_edit and include all some fields than for the creation. Deletions are identified by feed_item_delete and include only the post identifier.  
​  
New comments are identified with the value ****comment_new**** in the request action field. It includes the comment object composed by several fields and objects (references, author, newsfeed). Comment changes are identified by an action comment_edit and include all some fields than for the creation. Deletions are identified by comment_delete and include only the comment identifier.  
​

Please read below all object's details.

****Object: feed_item (post)****

Object name: feed_item

[![](https://storage.crisp.chat/users/helpdesk/website/-/e/4/1/9/e419031ce6686000/b73f1126-6320-4518-b28a-fe3de9_1dw9nhh.png?expires=1784557800&signature=116b070107f3de3f5a378aa06aadcf97253d1f81e021e039cfb2fe66226e559f&req=cyYnFMB%2FnoYTWLcX3D%2B5hqwl547sRBuzCKDgTH9g%2FVlP3rDtac%2FmtLzKZ61j%0AYaFmZOFEa2j4FBzN%0A)](https://storage.crisp.chat/users/helpdesk/website/-/4/5/5/9/455968806d21d000/e0968ace-80cd-41e8-90e1-5a58a1_12mxk0o.png)

****Object: comment****

Object name: comment

[![](https://storage.crisp.chat/users/helpdesk/website/-/8/2/d/d/82dd0555f659e800/9e32b46a-5976-4e13-ba6b-478053_am3dc7.png?expires=1784557800&signature=bbcbb7c6e3815f38891748d5716c257ed164b14f771996fdb24a63d6a1c6a703&req=cyYnFMB%2FmogTWLcX3D%2B5hglTjEbaAvDYzGPHeeoTRW44AO87LwuceN6QxTer%0AjHUCnqJVuc%2BIiftp%0A)](https://storage.crisp.chat/users/helpdesk/website/-/6/e/3/b/6e3bb0bddd8a5800/45affe4c-9fe2-46e2-85b8-30db63_1gimzcz.png)

****Object: references****

Object name: references

[![](https://storage.crisp.chat/users/helpdesk/website/-/7/f/4/a/7f4a495f5679d800/67f0c5d0-59eb-4e75-afdd-472676_1o4kgn.png?expires=1784557800&signature=9bbc770357505d80108a648d611d314daba2f91b612e69fe3f7d9f94118fe3c2&req=cyYnFMB%2FlIQTWLcX3D%2B5hpywjFqBlKOd4b8%2B2HfuaDsTiBxjL%2Bao77%2BfxyVG%0AKyWLCwHAcrZbqi3K%0A)](https://storage.crisp.chat/users/helpdesk/website/-/6/e/6/6/6e6672c6e6d42400/6a51a055-7b70-44ec-bba6-e4956f_1g0aat3.png)

****Object: author (auteur)****

Object name: author

[![](https://storage.crisp.chat/users/helpdesk/website/-/7/8/0/c/780c6c74dc6f5c00/b39a28e8-c11e-41a1-982e-d115a5_1fy8gak.png?expires=1784557800&signature=646f65b6df41770ee1db3900afdf38024b9ad0736e136d49a890e4a2ddfe9235&req=cyYnFMB8mYMTWLcX3D%2B5huVF6%2BHjt%2FE7xerlBAdHOJoI57TPRRPBc%2FluTnzL%0Aik5Pzzb1lxXXPVZX%0A)](https://storage.crisp.chat/users/helpdesk/website/-/4/a/3/2/4a320774e485f000/71505b70-765d-4152-b022-37f0c9_11paomn.png)

****Object: newsfeed****

Object name: newsfeed

[![](https://storage.crisp.chat/users/helpdesk/website/-/d/e/e/6/dee62779f8a88000/bcf90946-bd48-4b0f-984a-c9e9c3_1pgwqvf.png?expires=1784557800&signature=26d728b778d921b34234e80975e1878edfe72ac65f0a624c79a5861f3905ae64&req=cyYnFMB8lYMTWLcX3D%2B5hsvUkiA7Z3Oc8O3xXV4dHGh7FQp5dGwrbIbHQNnC%0AoxB0qVjdi8YVwIIl%0A)](https://storage.crisp.chat/users/helpdesk/website/-/f/9/e/1/f9e1f64fff4af000/cc6297fa-d1f7-420b-848d-488524_x3zk2w.png)

****Examples Json****

****New post****

{  
  "action": "feed_item_new",  
  "feed_item": {  
    "id": 34,  
    "type": "post",  
    "body": "Hello\nGood morning!"  
    "date": "2018-07-12T15:19:21+00:00",  
    "from_mobile": false,  
    "url": “[https://incenteev.my.incenteev.com/spaces/1/news-feed/34”](https://incenteev.my.incenteev.com/spaces/1/news-feed/34”),  
    "references": [  
      {  
        "type": "image",  
        "url": "[https://incenteev.my.incenteev.com/spaces/515/files/78980](https://incenteev.my.incenteev.com/spaces/515/files/78980)",  
        "thumbnail": "[https://incenteev-uploads.s3.amazonaws.com/media/1/image-b40e766116916873c91252426ce08fbf.png](https://incenteev-uploads.s3.amazonaws.com/media/1/image-b40e766116916873c91252426ce08fbf.png)"  
      },  
      {  
        "type": "video",  
        "url": "[https://incenteev.my.incenteev.com/spaces/515/files/77721](https://incenteev.my.incenteev.com/spaces/515/files/77721)",  
        "thumbnail": "[https://incenteev-uploads.s3.amazonaws.com/media/1/f200e1e377c0c9bedc30b8436f10e47b.jpg](https://incenteev-uploads.s3.amazonaws.com/media/1/f200e1e377c0c9bedc30b8436f10e47b.jpg)"  
      }  
    ],  
    "author": {  
      "id": 2,  
      "email": "[test@company.com](mailto:test@company.com)",  
      "name": "Jean Test"  
      "first_name": "Jean",  
      "last_name": "Test",  
      "profile_picture": "[https://incenteev-uploads.s3.amazonaws.com/media/1/295285f8125f83b6bd53abded7b0a91d](https://incenteev-uploads.s3.amazonaws.com/media/1/295285f8125f83b6bd53abded7b0a91d)."  
    },  
    "newsfeed": {  
      "id": 1,  
      "name": "Discussions"  
    }  
  }  
}

****New comment****

{  
  "action": "comment_new",  
  "comment": {  
    "id": 87,  
    "body": "Good morning to you :)",  
    "date": "2018-07-13T04:42:14+00:00",  
    "from_mobile": true,  
    "references": [],  
    "author": {  
      "id": 2,  
      "email": "[boss@company.com](mailto:boss@company.com)",  
      "name": "Steve Boss",  
      "first_name": "Steve",  
      "last_name": "Boss",  
      "profile_picture": "[https://www.gravatar.com/avatar/1d86067b5ea4a0f4b832ea73cdb07e42?d=identicon&s=200](https://www.gravatar.com/avatar/1d86067b5ea4a0f4b832ea73cdb07e42?d=identicon&s=200)"  
    },  
    "feed_item": {  
      "id": 34,  
      "url": "[https://incenteev.my.incenteev.com/spaces/1/news-feed/34](https://incenteev.my.incenteev.com/spaces/1/news-feed/34)"  
    }  
  }  
}