Download OpenAPI specification:
Check email change token and retrieve email change data.
token required | string The token given in the email change link. |
{- "code": 0,
- "data": {
- "email": "user@example.com",
- "new_email": "user@example.com",
- "current_organization_name": "string",
- "new_organization_name": "string",
- "label_name": "string"
}
}
Change the user's email by the new specified one.
Info to authenticate the email change.
email_token required | string = 10 characters The mail change token. |
email required | string <email> The new email address. |
{- "email_token": "stringstri",
- "email": "user@example.com"
}
{- "code": 0
}
Confirm the email of the user using the validation token.
Info to authenticate the email conformation.
token required | string = 10 characters The mail change token. |
{- "token": "stringstri"
}
{- "code": 0,
- "label_name": "string",
- "email": "user@example.com",
- "android_store_url": "string",
- "ios_store_url": "string"
}
Check the token validity and get the associated info.
token required | string = 10 characters |
{- "code": 0,
- "data": {
- "email": "user@example.com",
- "firstname": "string",
- "label_name": "string",
- "app_label_term_url": "string",
- "network_term_url": "string"
}
}
Complete the registration of an account created by someone else on the dashboard.
Info about the user.
token required | string = 10 characters The complete registration token. |
password required | string [ 8 .. 255 ] characters The user's password. |
object The user's consents. | |
trip_retention_in_months | integer or null [ 3 .. 24 ] The trip retention in months. Null means forever, if not provided, defaults to null. |
{- "token": "stringstri",
- "password": "stringst",
- "consents": {
- "emails.networkstatus": true,
- "emails.promotional": true
}, - "trip_retention_in_months": 3
}
{- "code": 0,
- "data": {
- "android_store_url": "string",
- "ios_app_store_url": "string"
}
}
Reset the password to the new specified one.
The new password.
password_token required | string = 10 characters The change password token. |
password required | string [ 8 .. 255 ] characters The user's password. |
{- "password_token": "stringstri",
- "password": "stringst"
}
{- "code": 0
}