# Start a view-as session

`POST /v1/platforms/{orgId}/customers/{customerId}/view-as`

Opens a view-as session as an active member of one of the platform's own customers,
view-only by default. With scope "write" the session can also send payments and
withdrawals, manage recipients and own bank accounts, and fill, document, and
submit that customer's verification, all on the customer's behalf. Money movement
needs the platform user's own two-factor step-up. Every action is recorded on both
the customer's and the platform's trail with the platform user as actor. The
customer's team, approvals and settings stay with the customer. The verification
application is only available inside a session for that linked customer. Needs
platform:view_as on an active platform. The returned URL opens the customer app in
a new tab; the token rides in the URL fragment.

When to use it: A person on your team needs to see or act in a customer's app, for support. Not available to API keys.

Requires: organization platform (active); permission platform:view_as; Signed-in session; write scope needs AAL2.

## Request body

- `user_id` (string (uuid), required): The customer member to view as
- `reason` (string, required): 
- `scope` (enum): write also lets the platform user act on the customer's behalf (payments, withdrawals, recipients, own accounts, and the verification application: fill it, upload documents, and send it for review). The customer's team, approvals and settings stay with the customer. One of read, write.

```json
{
  "user_id": "e93b1d60-2f8a-4c7e-91d4-3a6b5c0f2e18",
  "reason": "Chargeback investigation",
  "scope": "read"
}
```

Errors: membership_disabled, not_found

```bash
curl -X POST "https://sandbox-api.payezy.io/v1/platforms/$ORG_ID/customers/$CUSTOMER_ID/view-as" \
  -H "Authorization: Bearer $PAYEZY_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "user_id": "e93b1d60-2f8a-4c7e-91d4-3a6b5c0f2e18",
  "reason": "Chargeback investigation",
  "scope": "read"
}'
```
