Registration
Operations related to tenant & user registration with PromptEasy.eu API.
Get a list of countries
GET
https://api.prompteasy.eu/v1/countries
Response
A list of countries
Authorization
ApiKeyAuthapiKey in headerVerify if an email domain is academic
GET
https://api.prompteasy.eu/v1/academic/verify
Parameters
emailstring<email>requiredqueryResponse
200OKobject
Verification result
Authorization
ApiKeyAuthapiKey in headerRegister a new user and tenant
POST
https://api.prompteasy.eu/v1/register
Body
application/json
namestringrequiredExample
John DoeemailstringrequiredExample
foo@bar.invalidtenant_ namestringExample
Acme Inc.tenant_ emailstringExample
foo@bar.invalidcountry_ codestringrequiredExample
BEis_ individualbooleanrequiredExample
falsepostal_ codestringExample
12345vat_ idstringExample
BE1234567890plan_ typestringrequiredExample
premiumpromotion_ codestring | nullExample
PROMO50terms_ acceptedbooleanrequiredExample
trueResponse
200OKobject
Registration completed successfully
Unprocessable Entity
Authorization
ApiKeyAuthapiKey in header