Skip to main content
POST
Register a bot session

Headers

x-api-key
string
required

API key for network authentication

Body

application/json

Information about bot user and devices that they use to connect. Bot users have read-only access and are typically used for SEO crawlers and automated systems.

accessToken expires in 30 days by default.

deviceId
string
required

Unique identifier for the device

Required string length: 1 - 150
deviceInfo
object

Optional device information for analytics and debugging

Response

Session Information with access token and user data

accessToken
string
required

JWT access token for API authentication

issuedAt
string<date-time>
required

Token issuance timestamp

expiresAt
string<date-time>
required

Token expiration timestamp

users
object[]
required

User information array

roles
object[]

User roles array

Example:
files
object[]

Associated files array

Example:
lastCachePurge
string<date-time>

Date of the last cache purge

userType
enum<string>

Type of user (e.g., signed-in, visitor, bot)

Available options:
signed-in,
visitor,
bot
Example:

"bot"