Forum Discussion

jpierlot's avatar
6 years ago

Create a board through API

Hello,   I would like to create a board through API but I get an error message:   curl -X POST \ > 'https://domain.lithium.com/restapi/vc/categories/id/<category_id>/nodes/type/key/board/add?boa...
  • Parshant's avatar
    Parshant
    6 years ago

    jpierlot,

    You can use V2 API to create board and add description as well.

    Session Key
    curl -X POST \ https://[COMMUNITY DOMAIN]/api/2.0/boards \ -H 'content-type: application/json' \ -H 'li-api-session-key: [SESSION KEY]' \ -d '{ "data": { "type": "board", "id": "DeveloperDiscussion", "conversation_style": "forum", "title": "Developer Discussions", "parent_category": { "id": "DevNetwork" } } }'