POST
/
v1
/
cards
curl --request POST \
  --url https://api.supernotes.app/v1/cards \
  --header 'Content-Type: application/json' \
  --data '{
  "[card_id]": {
    "data": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "markup": "<string>",
      "html": "<string>",
      "ydoc": "<string>",
      "icon": "<string>",
      "color": "blue",
      "created_when": "2023-11-07T05:31:56Z",
      "modified_when": "2023-11-07T05:31:56Z",
      "targeted_when": "2023-11-07T05:31:56Z",
      "meta": {},
      "import_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "tags": [
        "<string>"
      ],
      "source": "<string>"
    },
    "membership": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "personal_color": "blue",
      "personal_tags": [
        "<string>"
      ],
      "created_when": "2023-11-07T05:31:56Z",
      "liked": true,
      "visibility": 123,
      "view": {
        "display_type": 1,
        "sort_type": 0,
        "sort_ascending": true
      }
    },
    "parents": {
      "[card_id]": {
        "publishing_perms": -1,
        "created_when": "2023-11-07T05:31:56Z",
        "archived": true,
        "cutting": true
      }
    }
  }
}'
{}

Authorizations

Api-Key
string
headerrequired

Body

application/json
[card_id]
object

Response

200 - application/json

The response is of type object.