API referenceSign-in and account
Change your name
POST
Changes the display name of the signed-in person. Email changes go through an owner or admin (users.update).
Any signed-in caller. Not available to MCP clients or the assistant.
cookie
seylo_session<token>application/json- body
name*stringLength
length <= 80Success.
application/json- response
viewer*curl -X POST 'https://example.com/api/v1/auth.updateProfile' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'Example Response
{ "viewer": { "id": "string", "email": "[email protected]", "name": "string", "role": "owner" }}Change your UI preferences POST
Merges the given keys into the signed-in person's preferences; a key set to null is removed. At most 16 KB in total. Any signed-in caller. Not available to MCP clients or the assistant.
Finish signing in with a 2FA code POST
Exchanges the ticket from a secondFactor LoginResult and a 6-digit authenticator code (or one unused recovery code) for a session. A recovery code is used up. Needs no sign-in. Not available to MCP clients or the assistant.