Create note
Authorization
AccessToken AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/notes" \ -H "Content-Type: application/json" \ -d '{ "title": "string", "workspaceId": "string", "authorId": "string" }'{ "status": 0, "message": "string", "data": { "title": "string", "content": {}, "workspaceId": "string", "authorId": "string", "parentId": null, "icon": "📄", "banner": "string", "isFavorite": false, "isArchived": false, "tags": [ "string" ], "lastEditedBy": "string", "metadata": {}, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "id": "string" }, "type": "string", "code": "string"}