> ## Documentation Index
> Fetch the complete documentation index at: https://docs.oneshotagent.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Act for a profile

> Bind an owner profile to a goal and choose where its details may be sent.

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`:

```json theme={null}
{
  "owner_profile": {
    "profile_id": "6f1d8c55-2a3b-4c5d-8e9f-0a1b2c3d4e5f",
    "allow": {
      "domains": ["example.com"],
      "numbers": ["+14155550100"]
    }
  }
}
```

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:

| Tool | Allowed when |
| - | - |
| Browser | `start_url` and every `allowed_domains` entry are on `allow.domains`. Values go in the task text only. |
| Email | Every recipient is on `allow.domains`. |
| Text and call | The number is on `allow.numbers`. |
| Physical mail | It goes to the profile's own address, written with its `contact.address` placeholders. |

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.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.