---
title: "upsert user"
method: POST
path: "/v1/platform/apps/{app_id}/automations"
tags: ["Platform"]
---

# upsert user

`POST /v1/platform/apps/{app_id}/automations`

## Request

- Base URL: `https://api.1claw.co`
- URL: `https://api.1claw.co/v1/platform/apps/{app_id}/automations`
- Auth: HTTP bearer

## Request body

- object
  - `subject_token` string
  - `subject_token_type` string
  - `email` string
  - `display_name` string
  - `siwe_message` string
  - `siwe_signature` string
  - `return_to` string
  - `create_sub_org` boolean
  - `app_id` object

## Response `200`

Success

## Other responses

- `401`: Unauthenticated
- `403`: Forbidden, or the plan does not include this
- `404`: Not found

---

[API](https://skmtc.dev/1claw/apis/1claw-api.md) · [All operations](https://skmtc.dev/1claw/apis/1claw-api/llms.txt) · [OpenAPI document](https://skmtc.dev/1claw/apis/1claw-api/revisions/ae109b496830?raw)
