Skip to main content
GET
Retrieve a greeting

Authorizations

Authorization
string
header
required

A secret key (dk_live_…). Scopes: conversations:read, contacts:read, contacts:write, meetings:read, analytics:read, events:read, webhooks:write, knowledge:read, knowledge:write, agent:read, agent:write, experiments:read, experiments:write, privacy:write, chat:write.

Path Parameters

id
string
required

Response

OK

id
string
required
Pattern: ^gr_
Example:

"gr_yjh2jw"

object
string
required
Allowed value: "greeting"
type
enum<string>
required

page: one page. audience: visitors who match show_to. link: people who open its personal links. default: everyone else (the catch-all), one per workspace.

Available options:
page,
audience,
link,
default
name
string
required
text
string
required

What the chat says first.

Example:

"Comparing plans? Give me a rough count of meetings a month and I'll find your cheapest fit."

buttons
object[]
required

Reply buttons. Your locked buttons (Agent Studio) are added when it is shown.

agent_note
string | null
required

What the agent is told about people shown this greeting.

outcome
string | null
required

What it steers toward: "meeting" or an outcome form (out_…). Null: the chat's usual.

page
string | null
required

For type page: the page it shows on.

For type link: the personal links (lk_…) that open with it.

show_to
object[]
required

For type audience: the filters a visit must all match.

audience
string
required

Who sees it, in words.

Example:

"Page is any of /pricing"

stays
enum<string>
required

match: only on pages it matches. visit: the rest of the visit. return: every visit for 90 days.

Available options:
match,
visit,
return
status
enum<string>
required
Available options:
live,
draft,
paused,
archived
testing
enum<string>
required

auto: Darwin may test new openings on it (one-page greetings and the default). off: it keeps these words.

Available options:
auto,
off
position
integer
required

Order among greetings of the same kind, lowest first.

Required range: -9007199254740991 <= x <= 9007199254740991
created_by_darwin
boolean
required
test
object | null
required

The test running on it now (exp_…); read it with GET /experiments/{id}.

created_at
string<date-time>
required
Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
updated_at
string<date-time>
required
Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$