Routes
SE · Wealth API · 2026-04-01
Create session
POSThttps://api.anessa.co/users/{userUuid}/sessions
Create a JWT session token for the user.
Request
Path Parameters
userUuidstringrequired
Header Parameters
Api-Versionstringrequired
The API version to use, as YYYY-MM-DD. Must match the version of the endpoint you are targeting. A request without it, or with a version older than the client's minimum API version, is served by the client's minimum API version. The legacy Insurely-Version header is still accepted for versions before 2027-01-01; send only one of the two.
Possible Enum values are
2026-04-01.Responses
Session successfully created.
Body
expiresAtstring[date-time]
tokenstring
userUuidstring
cURL
curl https://api.anessa.co/users/{userUuid}/sessions \
-H "authorization-token: <authorization-token>" \
-H "Api-Version: 2026-04-01" \
-X POSTRESPONSE 201
{
"expiresAt": "2026-04-01T11:00:00Z",
"token": "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ5b3VyLXVzZXItMTIzNCJ9.PLACEHOLDER-SIGNATURE",
"userUuid": "b3f1c2a4-8d6e-4f2b-9a1c-7e5d3b2a1f0e"
}