

What it does
Try sending a text record from a script to a local Quivr stack. The sample receives the request as soon as you send it. Use Write a push source to build an integration for a provider.Before you start
Start the local Quivr stack withmake dev. The offline push example lists the tools and permissions and shows how to export the local API URL and key.
Enable it
1
Create a sample instance
Follow Create a collection and source instance to create an
events instance. Use an empty configuration object. The local stack already loads the sample.2
Issue an instance token
Follow Issue a token and push. Use the Quivr API key to issue the token and save the returned secret for the sender.
Use it
Send a record
In the offline example, sendkey, revision, title and text as JSON to POST /v0/connectors/<connector_id>/api/records. Authenticate with the instance token. Keep the same key for a correction and give it a new revision and Idempotency-Key header value.
The response is 202 with a receipt ID. Read the receipt until its state is resolved and it identifies the stored record. Revoke the token when you finish.