GET
/
v1
/
sharing
/
code
/
{code}
curl --request GET \
  --url https://api.supernotes.app/v1/sharing/code/{code}
{
  "card": {
    "color": "blue",
    "comment_count": 123,
    "created_when": "2023-11-07T05:31:56Z",
    "html": "<string>",
    "icon": "<string>",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "likes": 123,
    "modified_when": "2023-11-07T05:31:56Z",
    "name": "<string>",
    "owner": {
      "first_name": "<string>",
      "last_name": "<string>"
    },
    "owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "public_child_count": 123,
    "tags": [
      "<string>"
    ],
    "trusted": true
  },
  "card_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "code": "<string>",
  "granted_perms": -1,
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Path Parameters

code
string
required

Response

200 - application/json
card
object
required
card_id
string
required
code
string
required
granted_perms
enum<integer>
required
Available options:
-1,
0,
1318,
1382,
1398,
4094,
8190
id
string
required
owner_id
string
required