EndpointsAuthentication
Register User
Register a new user Creates a new user account and returns authentication tokens. The email will be used as the username.
POST
Register a new user
Creates a new user account and returns authentication tokens. The email will be used as the username.
application/json- body
User registration request
company?|nullemail*EmailFormat
emailname*NameLength
1 <= length <= 255password*PasswordLength
8 <= length <= 128Successful Response
application/json- response
Registration response
access_token*Access Tokenrefresh_token*Refresh Tokenuser*User information response
curl -X POST "https://example.com/api/register" \ -H "Content-Type: application/json" \ -d '{ "email": "user@example.com", "name": "string", "password": "stringst" }'{ "access_token": "string", "refresh_token": "string", "user": { "avatar_url": "string", "created_at": "2019-08-24T14:15:22Z", "email": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "preferences": { "accent": "royal", "avatar_color": "royal", "currency": "string", "dashboard": { "hidden": [ "string" ], "order": [ "string" ], "range_days": 7 }, "date_style": "short", "density": "comfortable", "favorites": { "agents": [ "ce0951b6-fac0-429c-be9b-31a1ce20b503" ], "projects": [ "eaf709ed-5ed9-42a1-a0ca-f919f2d075df" ] }, "locale": "string", "sidebar_collapsed": true, "tasks": { "saved_views": [ { "id": "string", "name": "string", "query": "" } ], "view": "list" }, "theme": "light", "timezone": "string", "version": 1 } }}Refresh Token POST
Refresh access token Uses a valid refresh token to generate a new access token.
List My Api Keys GET
List the caller's active (not revoked) API keys, newest first. Only metadata is returned: name, `prefix` (the first 13 characters of the key), created, last used and expiry. The secret itself is never shown again. Works with a session token or an API key.