Newsletter
Sign up for the newsletter. This will send a confirmation email with a validation url to follow.
post
Authorizations
PRIVATE-TOKENstringRequired
Body
emailstring · max: 128Required
Customer's email address
languagestringRequired
Customer's preferred language
Responses
204
No Content
No content
422
Unprocessable Entity
application/json
post/v3/newsletter/optin
POST /v3/newsletter/optin HTTP/1.1
Host: api.i3d.net
PRIVATE-TOKEN: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 34
{
"email": "text",
"language": "text"
}No content
Authorizations
PRIVATE-TOKENstringRequired
Body
tokenstring · uuidRequired
The confirmation token from the opt-in email.
Responses
204
No Content
No content
404
Error
post/v3/newsletter/confirm
POST /v3/newsletter/confirm HTTP/1.1
Host: api.i3d.net
PRIVATE-TOKEN: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 48
{
"token": "123e4567-e89b-12d3-a456-426614174000"
}No content
Authorizations
PRIVATE-TOKENstringRequired
Body
mailhashstringRequired
A hash, as provided in the newsletter unsubscribe url
keystringRequired
A key, as provided in the newsletter unsubscribe url
Responses
204
No Content
No content
422
Unprocessable Entity
application/json
post/v3/newsletter/unsubscribe
POST /v3/newsletter/unsubscribe HTTP/1.1
Host: api.i3d.net
PRIVATE-TOKEN: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 32
{
"mailhash": "text",
"key": "text"
}No content
Last updated
Was this helpful?