GET /helo¶
Authenticate with your API Token to obtain a session token (xa-token) for use with all other endpoints.
Why 'helo'?
This is an intentional geeky reference to the HELO command in the SMTP mail server protocol — not a typo.
Request¶
Security¶
This endpoint uses API Token authentication (apiTokenAuth). Pass your long-lived API Token (generated in Admin > Webshop API) as a Bearer token.
From v4.0.1 (Gestix 7.2.08), only the key currently stored for the user in Admin > Webshop API is accepted: after Regenerate, the previous key is refused, and a user whose key was removed has no access. With v4.0.0 and older, any key generated for the user works until the user's password or code changes. See API versions and the API key.
Parameters¶
| Name | In | Type | Required | Description |
|---|---|---|---|---|
nonce |
query | integer (int64) | No | Client-generated unique sequential number. Example: 123456789 |
Responses¶
200 — Session token returned¶
| Field | Type | Description |
|---|---|---|
xa-token |
string | Short-lived session token. Pass this as a Bearer token on all subsequent requests. |
400 — Missing or invalid apiToken¶
Returned when no Authorization header is provided or the token is malformed.
403 — Access denied / invalid token¶
Returned when the API Token is invalid: for example, with v4.0.1, a key replaced by Regenerate or removed; with any version, a key generated before the user's password or code changed.
Example¶
Next Steps¶
Use the returned xa-token in the Authorization: Bearer header for all subsequent API calls. If you need to verify your session is still active, call GET /status.