POST /auth/sign_up
Create a new account
This method has the URL
https://api.toptranslation.com/v1/auth/sign_up
and returns an access token when sign up was successful.
Required arguments
email
E-Mail address of the user
String
Optional arguments
first_name
First name of the user
String
last_name
Last name of the user
String
locale_code
Code of the language the users emails will be sent in
String
business_client
Wether the user is a business or a private customer
Boolean
company
Name of the business
String
eu_vat_id
EU Vat-ID of the company
String
password
Password of the account
String
password_confirmation
Duplicate of the password of the account
String
Response
Returns a user object.
{
meta: {
status: 200
},
data:
{
access_token: '2b20a7c1c709de1d220b90f91bc...'
}
}
Errors
400 - Password confirmation doesn't match Password
The password and password confirmation do not match.
406 - Address taken
E-Mail address of the user is already taken.