Darwin Greetings API
The Greetings API from Darwin — 2 operation(s) for greetings.
The Greetings API from Darwin — 2 operation(s) for greetings.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/meetdarwin-ai:meetdarwin-ai-greetings-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Meetdarwin Ai Greetings API
version: '2026-10-12'
contact:
name: Darwin
url: https://docs.meetdarwin.ai/api-reference/introduction
description: 'Operations tagged Greetings across 2 of this provider''s published API definitions: meetdarwin-ai-mcp-openapi.json, meetdarwin-ai-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.meetdarwin.ai/v1
security:
- bearer: []
tags:
- name: Greetings
paths:
/greetings:
get:
operationId: listGreetings
summary: List greetings
tags:
- Greetings
description: 'Requires the `agent:read` scope.
What the chat says first and to whom: one-page greetings, audience greetings, personal link greetings and the website default (the catch-all). A live greeting comes before a page''s opening. Archived greetings are listed last.'
x-darwin-scope: agent:read
parameters:
- name: type
in: query
required: false
description: page, audience, link or default.
schema:
type: string
- name: status
in: query
required: false
description: live, draft, paused or archived.
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
required:
- object
- data
- has_more
- next_cursor
properties:
object:
const: list
data:
type: array
items:
$ref: '#/components/schemas/Greeting'
has_more:
type: boolean
next_cursor:
type:
- string
- 'null'
'400':
description: Invalid request (`invalid_request`, `unsupported_version`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'401':
description: Missing or invalid key (`authentication_required`, `invalid_api_key`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'402':
description: The workspace must add a card before the API can be used (`payment_required`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'403':
description: The key lacks the scope (`insufficient_scope`), the feature is off (`feature_disabled`), or the workspace's plan doesn't include it (`plan_required`, with `required_plan`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'404':
description: No such object in this workspace (`not_found`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'409':
description: Conflicts with the current state (`conflict`, `idempotency_key_in_use`), or the change would leave a live agent with no calendar or live form (`goal_required`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'422':
description: Refused by a rule (`unprocessable`, `idempotency_key_reused`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'429':
description: Rate limited (`rate_limited`) or a monthly allowance used (`quota_exceeded`); see Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
post:
operationId: createGreeting
summary: Create a greeting
tags:
- Greetings
description: 'Requires the `agent:write` scope.
type page needs page; type audience needs show_to; type link takes links (lk_…). Live at once unless status is draft. Changes the live website.'
x-darwin-scope: agent:write
parameters:
- name: Idempotency-Key
in: header
required: false
description: 'Retry safely: the first response is replayed for 24 hours (not for streamed answers).'
schema:
type: string
maxLength: 255
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/GreetingCreate'
responses:
'201':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Greeting'
'400':
description: Invalid request (`invalid_request`, `unsupported_version`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'401':
description: Missing or invalid key (`authentication_required`, `invalid_api_key`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'402':
description: The workspace must add a card before the API can be used (`payment_required`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'403':
description: The key lacks the scope (`insufficient_scope`), the feature is off (`feature_disabled`), or the workspace's plan doesn't include it (`plan_required`, with `required_plan`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'404':
description: No such object in this workspace (`not_found`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'409':
description: Conflicts with the current state (`conflict`, `idempotency_key_in_use`), or the change would leave a live agent with no calendar or live form (`goal_required`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'422':
description: Refused by a rule (`unprocessable`, `idempotency_key_reused`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'429':
description: Rate limited (`rate_limited`) or a monthly allowance used (`quota_exceeded`); see Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
servers:
- url: https://api.meetdarwin.ai/v1
/greetings/{id}:
get:
operationId: getGreeting
summary: Retrieve a greeting
tags:
- Greetings
description: Requires the `agent:read` scope.
x-darwin-scope: agent:read
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Greeting'
'400':
description: Invalid request (`invalid_request`, `unsupported_version`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'401':
description: Missing or invalid key (`authentication_required`, `invalid_api_key`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'402':
description: The workspace must add a card before the API can be used (`payment_required`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'403':
description: The key lacks the scope (`insufficient_scope`), the feature is off (`feature_disabled`), or the workspace's plan doesn't include it (`plan_required`, with `required_plan`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'404':
description: No such object in this workspace (`not_found`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'409':
description: Conflicts with the current state (`conflict`, `idempotency_key_in_use`), or the change would leave a live agent with no calendar or live form (`goal_required`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'422':
description: Refused by a rule (`unprocessable`, `idempotency_key_reused`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'429':
description: Rate limited (`rate_limited`) or a monthly allowance used (`quota_exceeded`); see Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
patch:
operationId: updateGreeting
summary: Change a greeting
tags:
- Greetings
description: 'Requires the `agent:write` scope.
Omit what should stay. Changing the words, buttons or audience of a greeting under test is refused (409) unless end_test is true, which ends the test first and keeps its results. status live restores an archived greeting. The website default takes words, buttons and testing, not an audience.'
x-darwin-scope: agent:write
parameters:
- name: id
in: path
required: true
schema:
type: string
- name: Idempotency-Key
in: header
required: false
description: 'Retry safely: the first response is replayed for 24 hours (not for streamed answers).'
schema:
type: string
maxLength: 255
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/GreetingUpdate'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Greeting'
'400':
description: Invalid request (`invalid_request`, `unsupported_version`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'401':
description: Missing or invalid key (`authentication_required`, `invalid_api_key`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'402':
description: The workspace must add a card before the API can be used (`payment_required`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'403':
description: The key lacks the scope (`insufficient_scope`), the feature is off (`feature_disabled`), or the workspace's plan doesn't include it (`plan_required`, with `required_plan`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'404':
description: No such object in this workspace (`not_found`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'409':
description: Conflicts with the current state (`conflict`, `idempotency_key_in_use`), or the change would leave a live agent with no calendar or live form (`goal_required`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'422':
description: Refused by a rule (`unprocessable`, `idempotency_key_reused`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'429':
description: Rate limited (`rate_limited`) or a monthly allowance used (`quota_exceeded`); see Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
delete:
operationId: archiveGreeting
summary: Archive a greeting
tags:
- Greetings
description: 'Requires the `agent:write` scope.
It stops greeting anyone and any test on it ends, results kept; its visitors get the next greeting that fits. The website default can''t be archived.'
x-darwin-scope: agent:write
parameters:
- name: id
in: path
required: true
schema:
type: string
- name: Idempotency-Key
in: header
required: false
description: 'Retry safely: the first response is replayed for 24 hours (not for streamed answers).'
schema:
type: string
maxLength: 255
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/GreetingArchived'
'400':
description: Invalid request (`invalid_request`, `unsupported_version`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'401':
description: Missing or invalid key (`authentication_required`, `invalid_api_key`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'402':
description: The workspace must add a card before the API can be used (`payment_required`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'403':
description: The key lacks the scope (`insufficient_scope`), the feature is off (`feature_disabled`), or the workspace's plan doesn't include it (`plan_required`, with `required_plan`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'404':
description: No such object in this workspace (`not_found`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'409':
description: Conflicts with the current state (`conflict`, `idempotency_key_in_use`), or the change would leave a live agent with no calendar or live form (`goal_required`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'422':
description: Refused by a rule (`unprocessable`, `idempotency_key_reused`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'429':
description: Rate limited (`rate_limited`) or a monthly allowance used (`quota_exceeded`); see Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
servers:
- url: https://api.meetdarwin.ai/v1
components:
schemas:
GreetingArchived:
type: object
properties:
id:
type: string
object:
type: string
const: greeting
archived:
type: boolean
const: true
required:
- id
- object
- archived
GreetingCreate:
type: object
properties:
type:
type: string
enum:
- page
- audience
- link
description: 'page: one page; audience: visitors who match show_to; link: people who open its personal links.'
page:
description: 'For type page: the page, such as /pricing, or its address.'
type: string
minLength: 1
maxLength: 500
show_to:
description: 'For type audience: filters, all of which must match (a filter''s values are any of).'
maxItems: 12
type: array
items:
type: object
properties:
field:
type: string
enum:
- page
- page_type
- campaign
- source
- medium
- content
- referrer
- link
- visitor
- device
- country
description: page, page_type, campaign, source, medium, content, referrer, visitor (new or returning), device or country.
op:
type: string
enum:
- any_of
- none_of
- starts_with
- contains
- ends_with
- is_set
- not_set
description: any_of, none_of, starts_with, contains, ends_with, is_set or not_set.
values:
default: []
maxItems: 50
type: array
items:
type: string
minLength: 1
maxLength: 200
required:
- field
- op
additionalProperties: false
links:
description: 'For type link: personal links (lk_…) that open with it.'
maxItems: 200
type: array
items:
type: string
pattern: ^lk_[a-z0-9]{4,16}$
name:
description: What your team calls it. Defaults to the page or type.
type: string
minLength: 1
maxLength: 80
text:
type: string
minLength: 1
maxLength: 300
description: What the chat says first. Openings shown beside the launcher read best under 120 characters. Link greetings may use {first|there}, {company|your team}, {title}, {last}.
buttons:
maxItems: 4
type: array
items:
type: object
properties:
label:
type: string
minLength: 1
maxLength: 40
message:
description: What a click sends as the visitor; the label when left out.
type: string
maxLength: 200
required:
- label
description: Up to four reply buttons. Their label is what the visitor taps; message is what it sends (the label when left out).
agent_note:
anyOf:
- type: string
maxLength: 500
- type: 'null'
description: What the agent should know about people who see it. Null removes it.
outcome:
description: 'What it steers toward: "meeting" or an outcome form id (out_…). Null keeps the chat''s usual.'
type:
- string
- 'null'
stays:
type: string
enum:
- match
- visit
- return
description: 'How long it stays once it matched: match (only matching pages), visit (this visit), return (every visit for 90 days).'
status:
type: string
enum:
- live
- draft
- paused
description: live greets visitors; draft and paused don't.
testing:
type: string
enum:
- auto
- 'off'
description: 'auto: Darwin may test new openings on it (one-page greetings and the default); off: it keeps these words.'
replace_existing:
description: 'For type page, when the page already has a greeting: true archives that greeting (a test on it stops; its results stay in Test history) and makes this one. Left out, the request is refused with the existing greeting''s id, so nothing running is replaced by accident.'
type: boolean
required:
- type
- text
additionalProperties: false
Problem:
type: object
properties:
type:
type: string
example: https://docs.meetdarwin.ai/api-reference/errors#insufficient_scope
title:
type: string
status:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
code:
type: string
example: insufficient_scope
detail:
type: string
param:
type: string
required_plan:
description: 'With `plan_required`: the plan that unlocks what was refused. Upgrade under Billing in the Darwin admin.'
type: string
enum:
- growth
- agency
feature:
description: 'With `plan_required`: the plan feature that was refused, such as `fit_rules`.'
example: fit_rules
type:
- string
- 'null'
upgrade_url:
description: 'With `plan_required`: the Billing page in the Darwin admin where an owner upgrades.'
type: string
request_id:
type: string
example: req_8m2k4p0q1x7z9c3v5b6n
required:
- type
- title
- status
- code
- detail
- request_id
GreetingUpdate:
type: object
properties:
page:
description: 'One-page greetings: move it to another page.'
type: string
minLength: 1
maxLength: 500
show_to:
description: 'Audience greetings: replace the filters.'
maxItems: 12
type: array
items:
type: object
properties:
field:
type: string
enum:
- page
- page_type
- campaign
- source
- medium
- content
- referrer
- link
- visitor
- device
- country
description: page, page_type, campaign, source, medium, content, referrer, visitor (new or returning), device or country.
op:
type: string
enum:
- any_of
- none_of
- starts_with
- contains
- ends_with
- is_set
- not_set
description: any_of, none_of, starts_with, contains, ends_with, is_set or not_set.
values:
default: []
maxItems: 50
type: array
items:
type: string
minLength: 1
maxLength: 200
required:
- field
- op
additionalProperties: false
name:
description: What your team calls it. Defaults to the page or type.
type: string
minLength: 1
maxLength: 80
text:
type: string
minLength: 1
maxLength: 300
description: What the chat says first. Openings shown beside the launcher read best under 120 characters. Link greetings may use {first|there}, {company|your team}, {title}, {last}.
buttons:
maxItems: 4
type: array
items:
type: object
properties:
label:
type: string
minLength: 1
maxLength: 40
message:
description: What a click sends as the visitor; the label when left out.
type: string
maxLength: 200
required:
- label
description: Up to four reply buttons. Their label is what the visitor taps; message is what it sends (the label when left out).
agent_note:
anyOf:
- type: string
maxLength: 500
- type: 'null'
description: What the agent should know about people who see it. Null removes it.
outcome:
description: 'What it steers toward: "meeting" or an outcome form id (out_…). Null keeps the chat''s usual.'
type:
- string
- 'null'
stays:
type: string
enum:
- match
- visit
- return
description: 'How long it stays once it matched: match (only matching pages), visit (this visit), return (every visit for 90 days).'
status:
description: live greets visitors; draft and paused don't. An archived greeting comes back with live.
type: string
enum:
- live
- draft
- paused
testing:
type: string
enum:
- auto
- 'off'
description: 'auto: Darwin may test new openings on it (one-page greetings and the default); off: it keeps these words.'
end_test:
description: 'Changing the words, buttons or audience of a greeting under test is refused (409) unless end_test is true: the test ends first and its results are kept.'
type: boolean
additionalProperties: false
Greeting:
type: object
properties:
id:
type: string
pattern: ^gr_
example: gr_yjh2jw
object:
type: string
const: greeting
type:
type: string
enum:
- page
- audience
- link
- default
description: '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.'
name:
type: string
text:
type: string
description: 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:
type: array
items:
type: object
properties:
label:
type: string
message:
type: string
required:
- label
- message
description: Reply buttons. Your locked buttons (Agent Studio) are added when it is shown.
agent_note:
description: What the agent is told about people shown this greeting.
type:
- string
- 'null'
outcome:
description: 'What it steers toward: "meeting" or an outcome form (out_…). Null: the chat''s usual.'
type:
- string
- 'null'
page:
description: 'For type page: the page it shows on.'
type:
- string
- 'null'
links:
type: array
items:
type: string
description: 'For type link: the personal links (lk_…) that open with it.'
show_to:
type: array
items:
type: object
properties:
field:
type: string
description: page, page_type, campaign, source, medium, content, referrer, visitor, device or country.
op:
type: string
description: any_of, none_of, starts_with, contains, ends_with, is_set or not_set.
values:
type: array
items:
type: string
required:
- field
- op
- values
description: 'For type audience: the filters a visit must all match.'
audience:
type: string
description: Who sees it, in words.
example: Page is any of /pricing
stays:
type: string
enum:
- match
- visit
- return
description: 'match: only on pages it matches. visit: the rest of the visit. return: every visit for 90 days.'
status:
type: string
enum:
- live
- draft
- paused
- archived
testing:
type: string
enum:
- auto
- 'off'
description: 'auto: Darwin may test new openings on it (one-page greetings and the default). off: it keeps these words.'
position:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
description: Order among greetings of the same kind, lowest first.
created_by_darwin:
type: boolean
test:
anyOf:
- type: object
properties:
id:
type: string
name:
type: string
status:
type: string
unit:
type: string
required:
- id
- name
- status
- unit
- type: 'null'
description: The test running on it now (exp_…); read it with GET /experiments/{id}.
created_at:
type: string
format: date-time
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:
type: string
format: date-time
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)))$
required:
- id
- object
- type
- name
- text
- buttons
- agent_note
- outcome
- page
- links
- show_to
- audience
- stays
- status
- testing
- position
- created_by_darwin
- test
- created_at
- updated_at
securitySchemes:
bearer:
type: http
scheme: bearer
description: '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.'
x-refined-from:
- meetdarwin-ai-mcp-openapi.json
- meetdarwin-ai-openapi.json