Skip to main content
A goal can act for one of your owner profiles: a household or a business, created with POST /v1/profiles. Bind it in the goal’s params:
The goal’s agent never sees the profile’s details. It sees first names, ages and grades, and a placeholder for every other field, such as {{profile.people.maya.dob}}.

Where values are sent

OneShot puts a value in place of its placeholder only for these calls: Any other call that carries a placeholder is refused and nothing is charged. So is an unknown placeholder. A placeholder is never sent as written. A domain covers its subdomains: example.com allows register.example.com, not myexample.com or example.com.other.org. allow.numbers takes E.164 numbers. A public suffix such as co.uk, or an invalid entry, returns 400 invalid_request from the quote. When a call is refused for a domain or number that is not on the list, nothing is sent and you are asked whether to allow it. Allowing adds that host or number to the goal’s list; the agent then makes the call again.

What is stored

Task records, approvals, results and the agent’s history keep placeholders, not values. Each time OneShot reads a profile’s values it records the goal, the purpose, the fields read and where they went. In the console, an admin can reveal one field at a time. Each reveal is recorded the same way. An approval shows you the values. If a value changes after you approve a call, the call asks for approval again. A scheduled call is filled in at its time; if a value changed since you approved it, it fails and nothing is charged.