Double opt In
Authorizations
Path parameters
tenantstring · min: 3 · max: 16RequiredPattern:
Your Emporix tenant's name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$
tokenstringRequired
The token sent in email to customer during account creation.
Responses
200
OK
application/json
400
Request was syntactically incorrect. Details will be provided in the response payload.
application/json
401
Unauthorized
application/json
get
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"
}
Authorizations
Path parameters
tenantstring · min: 3 · max: 16RequiredPattern:
Your Emporix tenant's name.
Note: The tenant should always be written in lowercase.
^[a-z][a-z0-9]+$
Body
emailstringRequired
Customer's email address.
Responses
202
Accepted
400
Request was syntactically incorrect. Details will be provided in the response payload.
application/json
401
Unauthorized
application/json
post
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": "[email protected]"
}
No content
Was this helpful?