Skip to main content
POST
/
user
Register User
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: JSON.stringify({email: 'jsmith@example.com', otp: '<string>', shareToken: '<string>'})
};

fetch('https://gp-auth-module.prod.gnosispay.com/user', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "accessToken": "<string>"
}

Body

application/json
email
string<email>
required
otp
string
required
Required string length: 6
shareToken
string

Optional Sumsub share token for reusable KYC

Response

User registered successfully

userId
string<uuid>
required
accessToken
string
required