Share
Authed Find Card With Share Code
Cards
Collections
Friends
Api Keys
Members
Profiles
Review
Share
User
- PATCHSet Preferences
- PUTSet Preference Flag
- PUTSet Feature Preview Flag
- GETGet User Email Addresses
- GETGet Email
- DELDelete Email
- PUTMake Email Primary
- GETCheck Auth
- GETCheck If Fresh Access Token
- GETGet Current User
- PUTUpdate Current User
- PUTUpdate Current User Bio And Pic
- GETGet Pins
- PUTUpdate Pins
Share
Authed Find Card With Share Code
Retrieve card data (and share code metadata) by specifying a share code. Check for auth headers and if the user already has access to this card, return a 409 error.
NOTE: /v1/sharing/code/{code}/authed
path is deprecated – use /v1/sharing/join/{code}
GET
/
v1
/
sharing
/
code
/
{code}
/
authed
curl --request GET \
--url https://api.supernotes.app/v1/sharing/code/{code}/authed \
--header 'Api-Key: <api-key>'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"card_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"code": "<string>",
"granted_perms": -1,
"card": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"html": "<string>",
"color": "blue",
"icon": "<string>",
"tags": [
"<string>"
],
"owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_when": "2023-11-07T05:31:56Z",
"modified_when": "2023-11-07T05:31:56Z",
"owner": {
"first_name": "<string>",
"last_name": "<string>",
"photo": "<string>"
},
"trusted": true,
"likes": 123,
"comment_count": 123,
"public_child_count": 123
}
}
Authorizations
Path Parameters
Response
200
application/json
Successful Response
Available options:
-1
, 0
, 1318
, 1382
, 1398
, 4094
, 8190
Available options:
blue
, green
, orange
, pink
, purple
, red
, yellow
curl --request GET \
--url https://api.supernotes.app/v1/sharing/code/{code}/authed \
--header 'Api-Key: <api-key>'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"card_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"code": "<string>",
"granted_perms": -1,
"card": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"html": "<string>",
"color": "blue",
"icon": "<string>",
"tags": [
"<string>"
],
"owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_when": "2023-11-07T05:31:56Z",
"modified_when": "2023-11-07T05:31:56Z",
"owner": {
"first_name": "<string>",
"last_name": "<string>",
"photo": "<string>"
},
"trusted": true,
"likes": 123,
"comment_count": 123,
"public_child_count": 123
}
}