Skip to main content
POST
/
v1
/
sync
/
save
Save Merkle sync snapshot
curl --request POST \
  --url https://api.sharc.dev/v1/sync/save \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "collection": "<string>",
  "snapshot": {}
}
'
{
  "ok": true,
  "snapshot": {}
}

Authorizations

Authorization
string
header
required

Pass your key in Authorization: Bearer .

Body

application/json
collection
string
required
snapshot
object
required

Response

200 - application/json

Snapshot saved

ok
boolean
snapshot
object