v2

latestOpenAPI 3.0.32026-08-05174296703.4 KB
user

signUpWithOtp user

sign up as end costumer using an otp token

post/users/signUpWithOtp

Request body

emailstring

the email of the customer signing up, if we don't have an email connected to the offer already

marketing_acceptedboolean required

mark if the user has accepted to received marketing communications.

offer_share_tokenstring required

The shared token from an offer

Example request

{
  "email": "abc123",
  "marketing_accepted": false,
  "offer_share_token": "abc123"
}

Response

OK response.

anonymized_emailstring required
codestring

only for local development testing purposes

Example response

{
  "anonymized_email": "abc123",
  "code": "abc123"
}