Save a shared resource
Copies a shared resource into the caller's own library. Unlike resolving the link, this does require authentication.
Copies a shared resource into the caller's own library. Unlike resolving the link, this does require authentication.
Authorization
bearerAuth A Clerk session JWT. Obtain one with a Clerk frontend SDK
(session.getToken()) or, for server-to-server use, with a Clerk
machine token. The token's sub claim is the Flambe user id that scopes
every request.
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/shared/string/save"{ "resource_type": "string", "resource": {}}Revoke a share link DELETE
Revokes the link immediately. The URL stops resolving; any page already open keeps whatever it has already loaded.
Attach a source POST
A recipe can cite more than one source — the cookbook it came from and the creator's post about it, say. This attaches an additional one. Pass `make_primary` to promote it to the headline attribution.