/services/webshop/v1/customer/auth/verify-email/{customer_id}/{hash}
Public
Confirms the customer's email address using the signed link sent to their inbox. On success the browser is redirected to the shop's verify-email page with `?verified=1`, or `?error=invalid` on a bad link. Falls back to JSON when no shop domain is configured.
| Name | Type | In | Required | Description |
|---|---|---|---|---|
customer_id |
integer | path | Required | |
hash |
string | path | Required |
| Header | Type | Description | Example |
|---|---|---|---|
X-RateLimit-Limit |
integer | Maximum number of requests allowed per minute | 60 |
X-RateLimit-Remaining |
integer | Number of requests remaining in the current window | 57 |
| Field | Type | Description |
|---|---|---|
error |
boolean | |
message |
string | |
data |
object | |
data.email_verified_at |
string |
| Header | Type | Description | Example |
|---|---|---|---|
X-RateLimit-Limit |
integer | Maximum number of requests allowed per minute | 60 |
X-RateLimit-Remaining |
integer | Number of requests remaining in the current window | 57 |
| Field | Type | Description |
|---|---|---|
error |
boolean | |
message |
string | |
data |
mixed[] |
| Header | Type | Description | Example |
|---|---|---|---|
X-RateLimit-Limit |
integer | Maximum number of requests allowed per minute | 60 |
X-RateLimit-Remaining |
integer | Number of requests remaining in the current window | 57 |
| Field | Type | Description |
|---|---|---|
error |
boolean | |
message |
string | |
data |
mixed[] |
| Header | Type | Description | Example |
|---|---|---|---|
X-RateLimit-Limit |
integer | Maximum number of requests allowed per minute | 60 |
X-RateLimit-Remaining |
integer | Number of requests remaining in the current window | 57 |
| Header | Type | Description | Example |
|---|---|---|---|
X-RateLimit-Limit |
integer | Maximum number of requests allowed per minute | 60 |
X-RateLimit-Remaining |
integer | Number of requests remaining in the current window | 57 |
Retry-After |
integer | Seconds until the rate limit resets | 60 |
| Field | Type | Description |
|---|---|---|
error |
boolean | |
message |
string |
curl -X GET "https://api.wemasy.nl/api/services/webshop/v1/customer/auth/verify-email/{customer_id}/{hash}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
fetch('https://api.wemasy.nl/api/services/webshop/v1/customer/auth/verify-email/{customer_id}/{hash}', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json' }})
.then(r => r.json())
.then(data => console.log(data));
$response = Http::withToken('YOUR_API_TOKEN')
->accept('application/json')
->get('https://api.wemasy.nl/api/services/webshop/v1/customer/auth/verify-email/{customer_id}/{hash}');
$data = $response->json();
import requests
headers = {
"Authorization": "Bearer YOUR_API_TOKEN",
"Accept": "application/json"
}
r = requests.get("https://api.wemasy.nl/api/services/webshop/v1/customer/auth/verify-email/{customer_id}/{hash}", headers=headers)
print(r.json())
{
"error": false,
"message": "string",
"data": {
"email_verified_at": "string"
}
}