Approve or refuse the send
POST
/quickstart/send/{id}
const url = 'http://127.0.0.1:7700/api/quickstart/send/example';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"approve":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://127.0.0.1:7700/api/quickstart/send/example \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "approve": true }'A phone paired as the owner, answering the question once. On approval the box seals and sends exactly
the keys the question named (a keys field here is ignored), the apps that are on, and the settings
meant to travel (never paused or agentFolders). The log records names, never values.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
approve
required
boolean
Example generated
{ "approve": true}Responses
Section titled “Responses”Whether it was sent.
Media typeapplication/json
object
sent
required
boolean
phrase
string
Example generated
{ "sent": true, "phrase": "example"}Not a phone paired as the owner.
Media typeapplication/json
object
error
required
What went wrong
string
Example generated
{ "error": "example"}The request expired. It lasts 10 minutes.
Media typeapplication/json
object
error
required
What went wrong
string
Example generated
{ "error": "example"}The new computer stopped.
Media typeapplication/json
object
error
required
What went wrong
string
Example generated
{ "error": "example"}