Skip to content

Token

Request a security token required for account activation and password reset

Create password token

Request

Create new password token for account activation or password reset. The response contains an URL directing the user to a web frontend where the user can set or reset the password. The URL consists of base part and token. The base part is subject to static configuration and may contain an individual path component for each customer

Security
basicAuth
Path
CUSTOMERstring, [ 5 .. 7 ] characters(customer)[0-9]{5}([A-Z]{2})?required
Example:44444
USERstring[^/]+(?:@|%40)[^/]+required
Example:customer@domain.com
Query
mailNotificationstring

If set to true or 1, an email notification is sent to the end user automatically

Example:mailNotification=true
curl -i -X POST \
  -u '<username>:<password>' \
  'https://developers.retarus.com/_mock/seg/email-continuity-api/44444/customer@domain.com/token?mailNotification=true'

Responses

OK

Bodyapplication/json
idstringrequired
timestampstringrequired
tokenstringrequired
expiryTimestampstringrequired
urlstringrequired
Response
{ "id": "string", "timestamp": "string", "token": "string", "expiryTimestamp": "string", "url": "string" }