Skip to main content
POST
/
v2
/
user
/
validate
Validate Account
curl --request POST \
  --url https://api.studio.prisme.ai/v2/user/validate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "<string>"
}
'
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({email: '<string>'})
};

fetch('https://api.studio.prisme.ai/v2/user/validate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests

url = "https://api.studio.prisme.ai/v2/user/validate"

payload = { "email": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
{
  "error": "BadParameters",
  "message": "<string>",
  "details": "<unknown>"
}
{
"error": "ForbiddenError",
"message": "Forbidden"
}
{
"error": "ObjectNotFound",
"message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
email
string
required
language
string
Pattern: ^[A-Za-z]{2,10}$

Response

Success Response