Double opt In
Was this helpful?
Was this helpful?
Your Emporix tenant's 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.
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"
}
Your Emporix tenant's name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$
Customer's email address.
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