Double Opt In
Allow option for double opt-in.
Creates a customer account using the token obtained through double opt-in.
Note: The request needs to be authorized with an anonymous access token.
To generate an anonymous token, check out the Requesting an anonymous token endpoint.
Your Emporix tenant name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$The token sent in email to customer during account creation.
OK
Indicates if login was performed with password created by an employee
Request was syntactically incorrect. Details will be provided in the response payload.
Unauthorized
GET /customer/{tenant}/signup/optin/{token} HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"access_token": "HzcnecB5l6STzXhRqU0Zp6hxS0Ay",
"saas_token": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI4NzQxMzI1MCIsImV4cCI6MTYzMjA1NDEzN30.p6g_G5ZbhjlvnObVC2OWGslLWWktxBw8onionfFvm4c",
"expires_in": 2591999,
"refresh_token": "tMhLYc8pfAqb1g10Z1o7BxABArxXe3db",
"refresh_token_expires_in": 86399,
"token_type": "Bearer"
}Resends an account activation link to the customer.
Note: The request needs to be authorized with an anonymous access token.
To generate an anonymous token, check out the Requesting an anonymous token endpoint.
Your Emporix tenant name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$Customer email address.
Accepted
No content
Request was syntactically incorrect. Details will be provided in the response payload.
Unauthorized
POST /customer/{tenant}/signup/optin/refresh_token HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 32
{
"email": "example@customer.com"
}No content
Last updated
Was this helpful?

