---
title: "signUpWithOtp user"
method: POST
path: "/users/signUpWithOtp"
tags: ["user"]
---

# signUpWithOtp user

`POST /users/signUpWithOtp`

sign up as end costumer using an otp token

## Request body

- SignUpPayload — Payload for sign up with OTP
  - `email` string — the email of the customer signing up, if we don't have an email connected to the offer already
  - `marketing_accepted` boolean, required — mark if the user has accepted to received marketing communications.
  - `offer_share_token` string, required — The shared token from an offer

## Response `200`

OK response.

- OtpConfirmationResponse
  - `anonymized_email` string, required
  - `code` string — only for local development testing purposes

## Other responses

- `400` — InvalidToken: shared token is invalid
- `401` — Unauthorized: Unauthorized response.
- `403` — InvalidScopes: Forbidden response.
- `422` — Unprocessable: Unprocessable Entity response.

---

[API](https://skmtc.net/topi/apis/topi-public-api.md) · [All operations](https://skmtc.net/topi/apis/topi-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/topi/topi-public-api/revisions/fa134b7fc959/schema)
