Skip to main content
POST
Identify website visitor by email

Authorizations

Authorization
string
header
required

Access token issued by gs.service.id. Its access_identity claim carries team_sid, actor_sid and actor_type, and that team scope is authoritative.

Team-SID
string
header
required

Team scope for tokens that do not carry one. Ignored when the token already names a team.

Body

application/json

Request body of identify_website_visitor_by_email.

site_sid
string
required

The site the page belongs to.

Required string length: 18
Pattern: ^sg_si_
visitor_id
string
required

The first-party visitor id the page holds (_gs_vid), as the customer's backend read it from the browser.

Maximum string length: 64
email
string
required

The address the person logged in or signed up with; the person is found by it in the team's tables.

Maximum string length: 320
name
string | null

Taken as the script's identify takes it; not stored until the inbound lead slice.

Maximum string length: 200
company
string | null

Taken as the script's identify takes it; not stored until the inbound lead slice.

Maximum string length: 200
form
string | null

The form the person submitted (signup): it joins the open session's events once per name and becomes the fact website_form_submitted.

Pattern: ^[A-Za-z0-9_.:-]{1,64}$

Response

action success envelope.

success
enum<boolean>
required
Available options:
true
operation
enum<string>
required
Available options:
action
action
string
required

kebab-case verb; matches the route segment.

item
object | null
required
result
object
required
meta
object
required