OdileM2M: agents reach businesses by phone number through Direct; Gate keys, limits and audit.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Direct prepaid packs: direct100c or direct1000 or direct10000. Lookups and availability stay free. Each agent identity gets 50 free tasks per UTC calendar month; then a delivered message costs 1 credit and a confirmed booking 5 credits. 1 credit = $0.10. Direct 100: 100 credits for $10; Direct 1,000: 1,000 credits for $90; Direct 10,000: 10,000 credits for $800. Credits never expire; nothing renews. Failed, refused and unconfirmed tasks cost nothing. Existing prepaid dollar balances keep their full cent value; 10 cents of balance equals 1 credit. Quotes, settlement and agent-to-agent voice are not available. Returns a one-time Stripe checkout link for a prepaid pack; the customer opens it and pays on Stripe's own page, and this connection never sees the card. Only call it when the customer asked to buy, and tell them the price first. Products: 'formats' (Odile Formats credits; packs from get_catalog), 'minutes' (meeting minutes, only where Meeting Notes is on), 'line_minutes' (phone minutes for a new After Hours line; line_id required: min40: 40 minutes for $10; min200: 200 minutes for $50), 'photos' (Plate API photo credits: starter: 1000 photos for $10; growth: 5000 photos for $45; scale: 20000 photos for $160), 'calls' (legacy per-call lines only). What was paid is added within a minute of payment, whatever device paid it. Nothing renews. Needs a signed-in connection with the billing:checkout permission. Returns { checkout_url, product, pack, price_cents, units, unit, then }.
The pack id: formats small | medium | large; minutes m200 | m600 | m2000; calls calls10 | calls50; phone minutes min40 | min200; photos starter | growth | scale.
'formats' credits, meeting 'minutes', phone 'line_minutes', Plate API 'photos', or legacy answered 'calls'.
For product 'calls' or 'line_minutes': the line_id from get_answering_line.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Tool list last changed Oct 25, 2026.
Direct prepaid packs: direct100c or direct1000 or direct10000. Lookups and availability stay free. Each agent identity gets 50 free tasks per UTC calendar month; then a delivered message costs 1 credit and a confirmed booking 5 credits. 1 credit = $0.10. Direct 100: 100 credits for $10; Direct 1,000: 1,000 credits for $90; Direct 10,000: 10,000 credits for $800. Credits never expire; nothing renews. Failed, refused and unconfirmed tasks cost nothing. Existing prepaid dollar balances keep their full cent value; 10 cents of balance equals 1 credit. Quotes, settlement and agent-to-agent voice are not available. Returns a one-time Stripe checkout link for a prepaid pack; the customer opens it and pays on Stripe's own page, and this connection never sees the card. Only call it when the customer asked to buy, and tell them the price first. Products: 'formats' (Odile Formats credits; packs from get_catalog), 'minutes' (meeting minutes, only where Meeting Notes is on), 'line_minutes' (phone minutes for a new After Hours line; line_id required: min40: 40 minutes for $10; min200: 200 minutes for $50), 'photos' (Plate API photo credits: starter: 1000 photos for $10; growth: 5000 photos for $45; scale: 20000 photos for $160), 'calls' (legacy per-call lines only). What was paid is added within a minute of payment, whatever device paid it. Nothing renews. Needs a signed-in connection with the billing:checkout permission. Returns { checkout_url, product, pack, price_cents, units, unit, then }.
| Argument | Type | Description |
|---|---|---|
| pack* | string | The pack id: formats small | medium | large; minutes m200 | m600 | m2000; calls calls10 | calls50; phone minutes min40 | min200; photos starter | growth | scale. |
| line_id | string | For product 'calls' or 'line_minutes': the line_id from get_answering_line. |
| product* | string | 'formats' credits, meeting 'minutes', phone 'line_minutes', Plate API 'photos', or legacy answered 'calls'. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"product",
"pack"
],
"properties": {
"pack": {
"type": "string",
"maxLength": 20,
"description": "The pack id: formats small | medium | large; minutes m200 | m600 | m2000; calls calls10 | calls50; phone minutes min40 | min200; photos starter | growth | scale."
},
"line_id": {
"type": "string",
"maxLength": 64,
"description": "For product 'calls' or 'line_minutes': the line_id from get_answering_line."
},
"product": {
"enum": [
"formats",
"minutes",
"calls",
"line_minutes",
"photos",
"direct"
],
"type": "string",
"description": "'formats' credits, meeting 'minutes', phone 'line_minutes', Plate API 'photos', or legacy answered 'calls'."
}
}
}Queue an Odile Formats job from sources uploaded with prepare_upload's helper. Costs nothing: credits are only spent by unlock_job, after the customer approves. One set of uploads makes exactly one job: calling it again with the same sources returns the existing job (replayed: true) whatever outputs, fit or trim are passed, so to render different outputs, upload again with prepare_upload. Needs a signed-in connection with write access. Returns at once with the job (same shape as get_job) plus replayed and next; poll get_job until state is ready.
| Argument | Type | Description |
|---|---|---|
| trim | object | Video only: keep just this part of the source. Omit to use the whole video. |
| outputs* | array | 1 to 4 outputs; one finished file per entry. |
| sources* | array | Source keys printed by the upload helper |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"sources",
"outputs"
],
"properties": {
"trim": {
"type": "object",
"required": [
"start",
"end"
],
"properties": {
"end": {
"type": "number",
"maximum": 600,
"description": "End, in seconds; at most 600"
},
"start": {
"type": "number",
"minimum": 0,
"description": "Start, in seconds from the beginning"
}
},
"description": "Video only: keep just this part of the source. Omit to use the whole video."
},
"outputs": {
"type": "array",
"items": {
"type": "object",
"required": [
"preset"
],
"properties": {
"fit": {
"enum": [
"crop",
"blur",
"auto"
],
"type": "string",
"description": "How the source is fitted to the new shape: 'crop', 'blur' (blurred fill) or 'auto' (default)."
},
"preset": {
"enum": [
"reel_9x16",
"feed_4x5",
"square_1x1",
"youtube_16x9",
"post_4x5",
"post_1x1",
"story_9x16"
],
"type": "string",
"description": "An output preset name from get_catalog.presets matching the source kind."
}
}
},
"maxItems": 4,
"minItems": 1,
"description": "1 to 4 outputs; one finished file per entry."
},
"sources": {
"type": "array",
"items": {
"type": "string",
"maxLength": 400,
"minLength": 10
},
"maxItems": 10,
"minItems": 1,
"description": "Source keys printed by the upload helper"
}
}
}Reads a photo of a meal or drink (the Plate API, SPEC-plate-api.md) and returns its items with grams, calories, protein and likely allergens -- guesses from the usual recipe, not a promise the dish is free of one, and not medical advice. A photo with no food costs nothing; one with food spends 1 Plate API photo credit, a balance separate from Odile Formats credits (get_balance). The first 25 are free on every account, granted automatically the first time this is called. Needs a signed-in connection with the media:spend permission. Returns { items[{name, grams, calories, protein_g, allergens}], allergens, total_calories, total_protein_g, confidence, note, credits_left }, or an error with credits_left and buy_credits_at when the balance is short.
| Argument | Type | Description |
|---|---|---|
| lang | string | BCP-47 language for the item names and note, e.g. "tr". Allergen keys are always English. |
| note | string | Optional context the customer gave, e.g. "no dressing". |
| image_base64* | string | A JPEG or PNG photo of the meal, base64-encoded; a data: prefix is fine. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"image_base64"
],
"properties": {
"lang": {
"type": "string",
"maxLength": 20,
"description": "BCP-47 language for the item names and note, e.g. \"tr\". Allergen keys are always English."
},
"note": {
"type": "string",
"maxLength": 200,
"description": "Optional context the customer gave, e.g. \"no dressing\"."
},
"image_base64": {
"type": "string",
"maxLength": 1900100,
"description": "A JPEG or PNG photo of the meal, base64-encoded; a data: prefix is fine."
}
}
}Price an Odile Formats job in credits before anything is uploaded or charged; use it to tell the customer the cost and get their approval before unlock_job. Needs no sign-in and changes nothing. Photos are priced exactly. Reel, Feed and Square video outputs cost exactly 1 credit each; YouTube 16:9 costs 1 or 2 because the length is only known once the file is read. Returns { minimum_credits, maximum_credits, final_price_known, charge_now: 0, why }. An unknown preset or a photo count out of range returns an error naming the valid values (get_catalog lists them).
| Argument | Type | Description |
|---|---|---|
| kind* | string | 'video' for one video file, 'photos' for a set of still images. |
| outputs* | array | 1 to 4 output preset names from get_catalog.presets (video presets for kind video, photo presets for kind photos); one finished file per preset. |
| photo_count | integer | Required when kind is 'photos' (the call fails without it): how many source photos, 1 to 10. Must be omitted when kind is 'video'. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"kind",
"outputs"
],
"properties": {
"kind": {
"enum": [
"video",
"photos"
],
"type": "string",
"description": "'video' for one video file, 'photos' for a set of still images."
},
"outputs": {
"type": "array",
"items": {
"enum": [
"reel_9x16",
"feed_4x5",
"square_1x1",
"youtube_16x9",
"post_4x5",
"post_1x1",
"story_9x16"
],
"type": "string"
},
"maxItems": 4,
"minItems": 1,
"description": "1 to 4 output preset names from get_catalog.presets (video presets for kind video, photo presets for kind photos); one finished file per preset."
},
"photo_count": {
"type": "integer",
"maximum": 10,
"minimum": 1,
"description": "Required when kind is 'photos' (the call fails without it): how many source photos, 1 to 10. Must be omitted when kind is 'video'."
}
}
}Resolve an E.164 number to a public Odile Direct agent card. Free: 30/IP/hour without sign-in; 10000/key/day signed in.
| Argument | Type | Description |
|---|---|---|
| number* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"number"
],
"properties": {
"number": {
"type": "string",
"pattern": "^\\+[1-9]\\d{6,14}$"
}
}
}Read factual OdileM2M use cases, connections, first steps, free allowances and limitations for Gate API enforcement and Direct business communication. Needs no sign-in or arguments, reads no account and contacts no business.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}The signed-in owner's own After Hours lines and pending setups. New lines use phone minutes; existing per-call lines retain calls. Returns billing_mode, balance (seconds for minutes, calls for legacy lines), minutes_remaining to one decimal for minute lines, forwarding codes and recent_calls. Callers are shown by their last four digits only. Needs lines:manage and changes nothing.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}The offer for an After Hours AI phone receptionist on the owner's own business line, prepaid and billed per minute: min40: 40 minutes for $10; min200: 200 minutes for $50 ($0.25 a minute). Real answered phone calls cost $0.25 per minute, billed by the second: each call rounds up to the next whole second, with a 20-second minimum. Robocalls, calls from your own numbers or ours, website and widget chats, text messages, and calls whose transcripts cannot be read are not charged. At zero the line keeps answering and usage goes below zero; your next pack pays that balance first. You are emailed at 5 minutes left, at zero, and at 10 minutes below zero. Nothing switches the line off automatically. Offered in: US. Use it before set_up_answering_line, to tell the owner exactly what they would buy. Needs no sign-in, reads no account and changes nothing. Returns { product, packs[{id, minutes, cents}], per_minute_cents, min_billable_seconds, billing_rule, at_zero, countries[], owner_must[], terms_url, set_up_with, top_up_with }.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}The signed-in customer's Odile Formats credit balance. Use it before unlock_job to check the job is affordable, or when the customer asks what they have left. Needs a signed-in connection; takes no arguments and changes nothing. Returns { account, credits (whole number, 0 when empty), next_expiry ({ at: epoch milliseconds, credits } for the next credits to lapse, or null), buy_credits_at }. To buy more: buy_pack (needs the billing:checkout permission) returns a checkout link the customer pays on Stripe's own page, or send the customer to buy_credits_at.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}The live price list and limits for Odile Formats, which reformats an existing video or photos for social platforms (it does not pick clips, write captions or edit). Call it first, before estimate_media_job or prepare_upload, to learn the preset and fit names, the file limits and the job flow. Needs no sign-in, takes no arguments and changes nothing. Returns { currency, packs[{id, credits, cents}], free_credits_per_account, credits_valid_months, buy_credits_at, purchasable_through_this_connection: true, how_to_buy, units, presets{video[], photos[]} (preset name strings), fits[] (fit name strings), limits{video_source_bytes, photo_source_bytes, max_source_photos, max_trim_seconds}, flow[] }. Prices are read from the same source the website charges from.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}For an existing deposit booking on your signed-in Direct account, reconcile its Stripe Checkout payment and return its receipt and separate booking state. Requires direct:tasks. Uses only the stored merchant account and amount; creates no new charge or booking identity. A verified paid checkout may finish its already-authorized held booking. Payout status remains unknown; paid does not mean a bank payout. The human pays on Stripe’s hosted page.
| Argument | Type | Description |
|---|---|---|
| biz* | string | |
| task_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"biz",
"task_id"
],
"properties": {
"biz": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"task_id": {
"type": "string",
"maxLength": 100,
"minLength": 1
}
}
}Read the signed-in account’s UTC free-send allowance, prepaid balance in cents, reserved cents and last 20 charges. Lookups and availability stay free. Each agent identity gets 50 free tasks per UTC calendar month; then a delivered message costs 1 credit and a confirmed booking 5 credits. 1 credit = $0.10. Direct 100: 100 credits for $10; Direct 1,000: 1,000 credits for $90; Direct 10,000: 10,000 credits for $800. Credits never expire; nothing renews. Failed, refused and unconfirmed tasks cost nothing. Existing prepaid dollar balances keep their full cent value; 10 cents of balance equals 1 credit. Quotes, settlement and agent-to-agent voice are not available. Uses the same ledger as REST and your developer page. Requires direct:tasks. Changes nothing; phone minutes and legacy credits are separate.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}Signed download links for every finished file of a job, once unlock_job has succeeded for it. Use it as the last step of the flow, and again whenever links have expired. Needs a signed-in connection and changes nothing. Returns { job_id, files[{name, preset, bytes, width, height, duration, url, expires_at}], how }. Each link works for 15 minutes and needs no login: fetch the files with curl (see how) rather than reading them into the conversation, or, without a shell, give the customer the links to open. Files are kept for 30 days. A job that is not unlocked returns an error with its state and cost; call unlock_job first.
| Argument | Type | Description |
|---|---|---|
| job_id* | string | The id (UUID) of a job on this account that unlock_job has already unlocked. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"job_id"
],
"properties": {
"job_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "The id (UUID) of a job on this account that unlock_job has already unlocked."
}
}
}One Odile Formats job by id, or the ten most recent when no id is given. Use it to poll a job after create_media_job (every 10-20 seconds, up to 10 minutes) until state is ready or failed; if it is still rendering after that, tell the customer and check again later (nothing is charged until unlock_job). Needs a signed-in connection and changes nothing. Returns one job { job_id, kind, state (queued | rendering | ready | failed), error, unlocked, credits_cost, credits_cost_known, credits_spent, outputs[{name, preset, ready, bytes, duration}], created_at, updated_at }, or { jobs[] } of the same shape. credits_cost is final only once credits_cost_known is true. An id that is not on this account returns 'No such job'. It reports status only: the files come from get_downloads after unlock_job, and a price before uploading comes from estimate_media_job.
| Argument | Type | Description |
|---|---|---|
| job_id | string | The job id (UUID) returned by create_media_job. Omit to list the ten most recent jobs. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"job_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "The job id (UUID) returned by create_media_job. Omit to list the ten most recent jobs."
}
}
}The signed-in owner's own line: its calls, newest first. Each item has id, at (ISO), caller (E.164 or null), duration_seconds, summary when there is one, and urgent when known. No audio links; use the owner console to listen. Pass the previous result's next_before as before to page back through older calls. Needs lines:manage and changes nothing.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Default 25, max 100. |
| before | string | ISO timestamp cursor: only calls before this. |
| line_id* | string | From get_answering_line. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"line_id"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Default 25, max 100."
},
"before": {
"type": "string",
"maxLength": 40,
"description": "ISO timestamp cursor: only calls before this."
},
"line_id": {
"type": "string",
"maxLength": 64,
"description": "From get_answering_line."
}
}
}The signed-in owner's own line: messages the receptionist took, newest first. Each item has id, at (ISO), name, phone, message and urgent. Pass the previous result's next_before as before to page back through older messages. Needs lines:manage and changes nothing.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Default 25, max 100. |
| before | string | ISO timestamp cursor: only messages before this. |
| line_id* | string | From get_answering_line. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"line_id"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Default 25, max 100."
},
"before": {
"type": "string",
"maxLength": 40,
"description": "ISO timestamp cursor: only messages before this."
},
"line_id": {
"type": "string",
"maxLength": 64,
"description": "From get_answering_line."
}
}
}Read the OdileM2M network, live Direct skills, credit prices, limits, Gate MCP connection and quickstart. Needs no sign-in, contacts no business and changes nothing.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}Odile Labs' published benchmark of AI phone receptionists: real test calls placed to public lines, scored against stated measures. Use it when someone asks how AI receptionists actually handle calls, or to compare named products; call it with no arguments first, then filter. Needs no sign-in and changes nothing. Returns { source, date, calls, minutes, run_by, limitations, fairness_note, scenarios[{id,name,brief}], lines[{id, vendor, business, kind, answers_as, list_price, ranked, points, possible, by_scenario{<scenario_id>:{points, possible, answered, first_words_s, ai_disclosed_unprompted, reply_language, price_quoted, measures}}}], read_more }. An unknown line_id or scenario_id returns an error listing the valid ids. Vendor-run by Odile Labs (which sells After Hours and Dusklin), not independent. It does not test the caller's own line (for that, see read_more.free_line_check); to set up an After Hours line billed per minute, see get_answering_line_offer.
| Argument | Type | Description |
|---|---|---|
| line_id | string | Only this tested line, e.g. 'afterhours-plumbing', 'afterhours-vet', 'rosie', 'myaifrontdesk' or 'dialzara'. Omit for every line. |
| scenario_id | string | Only this scenario: 'emergency' (leak after hours), 'booking' (book a slot), 'price' (price probe), 'disclosure' (are you real?) or 'spanish' (caller in Spanish). Omit for all. |
| include_evidence | boolean | Default false: each scenario's measures come back as strings like 'yes: <measure>'. true: measures come back as [{measure, score (0 or 1), evidence (quoted transcript)}] (much longer output). |
Create or read a SIP address and private trunk credentials for one of the signed-in owner's answering lines. Any phone system that can send a call to a SIP address can send calls here with no phone number. SIP calls use the line's normal allowance or prepaid minutes, with no separate SIP price. Keep the returned username and password private. Needs lines:manage.
| Argument | Type | Description |
|---|---|---|
| line_id* | string | From get_answering_line. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"line_id"
],
"properties": {
"line_id": {
"type": "string",
"maxLength": 64,
"description": "From get_answering_line."
}
}
}Step one of an Odile Formats job: returns a 30-minute upload token and the helper command. Run the helper in a shell on the customer's machine: file bytes go straight to Odile and never enter this conversation. The helper prints the source keys to pass to create_media_job. Needs a signed-in connection with write access; nothing is charged. Returns { kind, upload_token, expires_at, helper_url, run[], accepts, part_size, note }. One video OR up to ten photos per job. Each call mints a new token; earlier tokens stay valid until their own expiry, so call it again only when a token has expired or for a new job. To price a job first use estimate_media_job; for the file limits use get_catalog.
| Argument | Type | Description |
|---|---|---|
| kind* | string | 'video' to upload one MP4 or MOV (up to 500 MB, 10 minutes); 'photos' to upload 1 to 10 JPEG, PNG or WebP files. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"kind"
],
"properties": {
"kind": {
"enum": [
"video",
"photos"
],
"type": "string",
"description": "'video' to upload one MP4 or MOV (up to 500 MB, 10 minutes); 'photos' to upload 1 to 10 JPEG, PNG or WebP files."
}
}
}Lookups and availability stay free. Each agent identity gets 50 free tasks per UTC calendar month; then a delivered message costs 1 credit and a confirmed booking 5 credits. 1 credit = $0.10. Direct 100: 100 credits for $10; Direct 1,000: 1,000 credits for $90; Direct 10,000: 10,000 credits for $800. Credits never expire; nothing renews. Failed, refused and unconfirmed tasks cost nothing. Existing prepaid dollar balances keep their full cent value; 10 cents of balance equals 1 credit. Quotes, settlement and agent-to-agent voice are not available. Send take_message, check_availability, book or book_first_available. Keep message_id unchanged on retry. Use target=claim for verified listings. Booking requires the human’s permission; pending deposits are charged only after calendar confirmation.
| Argument | Type | Description |
|---|---|---|
| biz* | string | |
| data* | object | |
| skill* | string | |
| target | string | |
| message_id | string | |
| approval_id | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"biz",
"skill",
"data"
],
"properties": {
"biz": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]{1,100}$"
},
"data": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"skill": {
"enum": [
"take_message",
"check_availability",
"book",
"book_first_available"
],
"type": "string"
},
"target": {
"enum": [
"line",
"claim"
],
"type": "string"
},
"message_id": {
"type": "string",
"maxLength": 160,
"minLength": 1
},
"approval_id": {
"type": "string",
"pattern": "^da_[a-f0-9]{24}$"
}
}
}Starts an After Hours AI receptionist for the signed-in owner's business, prepaid and billed per minute (min40: 40 minutes for $10; min200: 200 minutes for $50). Real answered phone calls cost $0.25 per minute, billed by the second: each call rounds up to the next whole second, with a 20-second minimum. Robocalls, calls from your own numbers or ours, website and widget chats, text messages, and calls whose transcripts cannot be read are not charged. Nothing is built or bought until the owner pays: this returns a Stripe checkout link for the first pack, and the line (agent and phone number) is set up automatically once that is paid; its number and forwarding codes are then emailed to the account's address. Every line also gets a SIP address on request, so a phone system can send calls to it with no phone number. Only call it after showing the owner https://odilelabs.com/terms and getting a yes. For prices first use get_answering_line_offer; for a line that already exists use get_answering_line, and add minutes to it with buy_pack (product 'line_minutes'), not a second set-up. United States only (the business line and the owner's mobile must be US numbers). Needs a signed-in connection with the lines:manage permission; limited to 3 set-ups a day per account. Returns { setup_id, status: 'awaiting payment', business_name, business_phone, pack, minutes, price_cents, checkout_url, then }.
| Argument | Type | Description |
|---|---|---|
| city | string | The town the business is in, e.g. "Wellington, FL". The receptionist says it when a caller asks where you are. |
| pack* | string | The first pack: min40: 40 minutes for $10; min200: 200 minutes for $50. |
| extra | string | Anything else the receptionist should know. |
| hours | object |
Free, before buying anything: a shared test phone number and a 4-digit code (valid 24 hours, 5 calls). Calling the number and keying the code reaches an AI receptionist answering as the business described here, and hear_url plays the same receptionist in a browser. Nothing is booked, sent or charged on a test line; it shows how a real one sounds. Needs a signed-in account (any permissions). For a real line on the business's own number, use set_up_answering_line.
| Argument | Type | Description |
|---|---|---|
| area | string | Town or area, e.g. "Wellington, FL". |
| hours | string | Opening hours in words, e.g. "Mon-Fri 8 AM to 5 PM, closed weekends". |
| trade* | string | The kind of business; it sets what the receptionist knows to ask. |
| services | array | Services, e.g. ["drain cleaning", "water heaters"]. |
| timezone | string | IANA timezone, default America/New_York. |
| business_name* | string | The name the receptionist answers as, e.g. "Alvarez Plumbing". |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"business_name",
"trade"
],
"properties": {
"area": {
"type": "string",
"maxLength": 100,
"description": "Town or area, e.g. \"Wellington, FL\"."
},
"hours": {
"type": "string",
"maxLength": 400,
"description": "Opening hours in words, e.g. \"Mon-Fri 8 AM to 5 PM, closed weekends\"."
},
"trade": {
"enum": [
"vet",
"garage",
"lock",
"hvac",
"plumbing",
"roofing",
"electrical",
"pest",
"appliance",
"bail",
"hotel"
],
"type": "string",
"description": "The kind of business; it sets what the receptionist knows to ask."
},
"services": {
"type": "array",
"items": {
"type": "string",
"maxLength": 80
},
"maxItems": 12,
"description": "Services, e.g. [\"drain cleaning\", \"water heaters\"]."
},
"timezone": {
"type": "string",
"maxLength": 80,
"description": "IANA timezone, default America/New_York."
},
"business_name": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "The name the receptionist answers as, e.g. \"Alvarez Plumbing\"."
}
}
}Spends the customer's credits to unlock a finished job's files. Only call once get_job says the job is ready and the customer has approved a maximum spend. Refuses, charging nothing, if the job costs more than max_credits, is not ready, or the balance is short (the error says which, with the amount needed). A job that is already unlocked comes back as it is, with no charge and no balance or max_credits check. Needs a signed-in connection with spend access. Returns the job (same shape as get_job, with unlocked: true) plus credits_left and next: 'get_downloads'.
| Argument | Type | Description |
|---|---|---|
| job_id* | string | The id (UUID) of a ready job on this account. |
| max_credits* | integer | The most the customer agreed to spend on this job, 1 to 100 credits. The unlock is refused, charging nothing, if the job costs more. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"job_id",
"max_credits"
],
"properties": {
"job_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "The id (UUID) of a ready job on this account."
},
"max_credits": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "The most the customer agreed to spend on this job, 1 to 100 credits. The unlock is refused, charging nothing, if the job costs more."
}
}
}{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"line_id": {
"type": "string",
"maxLength": 40,
"description": "Only this tested line, e.g. 'afterhours-plumbing', 'afterhours-vet', 'rosie', 'myaifrontdesk' or 'dialzara'. Omit for every line."
},
"scenario_id": {
"type": "string",
"maxLength": 40,
"description": "Only this scenario: 'emergency' (leak after hours), 'booking' (book a slot), 'price' (price probe), 'disclosure' (are you real?) or 'spanish' (caller in Spanish). Omit for all."
},
"include_evidence": {
"type": "boolean",
"default": false,
"description": "Default false: each scenario's measures come back as strings like 'yes: <measure>'. true: measures come back as [{measure, score (0 or 1), evidence (quoted transcript)}] (much longer output)."
}
}
}| Opening hours by day name, e.g. {"Monday": {"open": "8:00 AM", "close": "5:00 PM"}, "Sunday": "closed"}. A day left out is closed. Omit entirely for Monday to Friday, 9 to 5. |
| country | string | Only US for now. |
| services | array | Up to 12 services, e.g. ["drain cleaning", "water heaters"]. |
| languages | array | Languages besides English the receptionist switches to when a caller does. |
| description | string | What the business does, in one line; this is what it tells callers. |
| owner_mobile* | string | The owner's own mobile (US, with area code): their calls to the line are never charged. |
| business_name* | string | The business name callers should hear, e.g. "Alvarez Plumbing". |
| business_phone* | string | The business number callers dial today (US, with area code). The owner forwards it to the new line. |
| owner_confirmed_terms* | boolean | true ONLY after you showed the owner https://odilelabs.com/terms and they said yes. Anything else is refused. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"business_name",
"business_phone",
"owner_mobile",
"pack",
"owner_confirmed_terms"
],
"properties": {
"city": {
"type": "string",
"maxLength": 80,
"description": "The town the business is in, e.g. \"Wellington, FL\". The receptionist says it when a caller asks where you are."
},
"pack": {
"enum": [
"min40",
"min200"
],
"type": "string",
"description": "The first pack: min40: 40 minutes for $10; min200: 200 minutes for $50."
},
"extra": {
"type": "string",
"maxLength": 600,
"description": "Anything else the receptionist should know."
},
"hours": {
"type": "object",
"description": "Opening hours by day name, e.g. {\"Monday\": {\"open\": \"8:00 AM\", \"close\": \"5:00 PM\"}, \"Sunday\": \"closed\"}. A day left out is closed. Omit entirely for Monday to Friday, 9 to 5.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"anyOf": [
{
"type": "object",
"required": [
"open",
"close"
],
"properties": {
"open": {
"type": "string",
"maxLength": 12
},
"close": {
"type": "string",
"maxLength": 12
}
}
},
{
"type": "string",
"const": "closed"
}
]
}
},
"country": {
"enum": [
"US"
],
"type": "string",
"description": "Only US for now."
},
"services": {
"type": "array",
"items": {
"type": "string",
"maxLength": 80
},
"maxItems": 12,
"description": "Up to 12 services, e.g. [\"drain cleaning\", \"water heaters\"]."
},
"languages": {
"type": "array",
"items": {
"enum": [
"es",
"pt",
"fr",
"tr",
"ru",
"de"
],
"type": "string"
},
"maxItems": 6,
"description": "Languages besides English the receptionist switches to when a caller does."
},
"description": {
"type": "string",
"maxLength": 300,
"description": "What the business does, in one line; this is what it tells callers."
},
"owner_mobile": {
"type": "string",
"maxLength": 40,
"description": "The owner's own mobile (US, with area code): their calls to the line are never charged."
},
"business_name": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "The business name callers should hear, e.g. \"Alvarez Plumbing\"."
},
"business_phone": {
"type": "string",
"maxLength": 40,
"description": "The business number callers dial today (US, with area code). The owner forwards it to the new line."
},
"owner_confirmed_terms": {
"type": "boolean",
"description": "true ONLY after you showed the owner https://odilelabs.com/terms and they said yes. Anything else is refused."
}
}
}