cURL
curl --request POST \ --url https://our-secret-api-url.com/bookmark/folders \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <x-api-key>' \ --data ' { "name": "<string>" } '
{ "id": 123, "name": "<string>", "createdAt": "2023-11-07T05:31:56Z", "userId": 123, "bookmarkCount": 123 }
Create a new bookmark folder
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
API key required for authentication
Name of the new folder
Folder created successfully