Register a session

This method creates a new session

Try this request in your browser

/api/ /sessions_for_sessions/register

Headers

Parameters

site String
token String
page_url String
page_title String
language String
time_zone String
browser String
visitor
custom_data

The request output will be shown here...

URL

https://api.natterly.com/api/v1/sessions_for_sessions/register

Access

Must not be authenticated. If not authorised, a MustNotBeAuthenticated error will be returned.

Parameters

Parameter Type Default

site Required

The site's token

String null

token

An existing token if you already have one

String null

page_url

The current URL

String null

page_title

The current page's title

String null

language

The browser language

String null

time_zone

The browser's time zone

String null

browser

THe browser's unique token

String null

visitor

The hash/signed string containing visitor information

null

custom_data

The hash/signed string containing custom data

null

Errors

Error Attributes

InvalidSiteToken

The site token provided is invalid

  • site

    The site token provided

Banned

The IP address is currently banned from chatting on this site

AccountSuspended

The associated account has been suspended

  • billing

    Whether or not the suspension is due to billing issues

InvalidVisitorSignedString

The signed string for visitor details is invalid

InvalidCustomDataSignedString

The signed string for custom data is invalid

Response Data

This action will return a Hash.