{"openapi":"3.1.0","info":{"title":"Atlas Voice public API","version":"1.0.0","summary":"Read the price and the demo line, and open a free pilot account for someone.","description":"Atlas Voice answers and routes a company's phone calls. These endpoints need no key. Reading is open. Signing up creates a free pilot account right away, and the account owner sets the password from an email, so an assistant never holds the password. Nothing here buys a phone number or places a call. Human-readable pages: https://voice.alignmentcapitalhq.com/pricing and https://voice.alignmentcapitalhq.com/demo."},"servers":[{"url":"https://voice.alignmentcapitalhq.com"}],"externalDocs":{"description":"Pricing in plain language","url":"https://voice.alignmentcapitalhq.com/pricing"},"paths":{"/pricing.json":{"get":{"operationId":"getPricing","summary":"Plan price, free trial, founding offer and spots left","responses":{"200":{"description":"The current offer. Spots left is read live.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pricing"}}}}}}},"/api/v1/public/pricing":{"get":{"operationId":"getPricingApi","summary":"The same document as /pricing.json","responses":{"200":{"description":"The current offer. Spots left is read live.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Pricing"}}}}}}},"/api/v1/public/demo":{"get":{"operationId":"getDemo","summary":"The demo phone line and the demo page","responses":{"200":{"description":"Call the number to hear a call answered.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Demo"}}}}}}},"/api/v1/public/signup":{"post":{"operationId":"signUp","summary":"Create a free pilot account for a person","description":"Use this when the person has asked you to sign them up. It creates the account and the company at once and starts the free trial. It buys no number and places no call, and it takes no card. The account owner gets an email with a link to set a password; give them `next_step_url`. If an email cannot be sent, the response carries a one-time setup link instead: hand it to the owner and nobody else. A founding spot is held once the owner sets the password. Limits: a few accounts per address per hour and a daily cap; a 429 says when to retry. Do not retry a 409.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignupRequest"}}}},"responses":{"201":{"description":"The account exists. The owner still has to set a password.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignupResponse"}}}},"400":{"description":"A field is missing or not valid. `field` names it.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Sign-up is paused. Use the form at /signup with an invite.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"That email already has an account (`email_in_use`) or the company name is taken (`company_name_taken`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"The request body is too large.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests. Wait for `Retry-After` seconds, or `daily_limit_reached`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"Error":{"type":"object","required":["ok","error","message"],"properties":{"ok":{"type":"boolean","const":false},"error":{"type":"string","examples":["invalid_email"]},"message":{"type":"string"},"field":{"type":"string"}}},"Demo":{"type":"object","properties":{"phone":{"type":"string","examples":["+14437293187"]},"phone_display":{"type":"string","examples":["(443) 729-3187"]},"page_url":{"type":"string","format":"uri"},"description":{"type":"string"}}},"Pricing":{"type":"object","description":"See /pricing.json for a live example.","properties":{"product":{"type":"string"},"currency":{"type":"string","examples":["USD"]},"plan":{"type":"object","properties":{"monthly_fee":{"type":"number"},"setup_fee":{"type":"number"},"per_minute_charge":{"type":"number"},"interval":{"type":"string"}}},"trial":{"type":"object","properties":{"days":{"type":"integer"},"card_required":{"type":"boolean"}}},"founding_offer":{"type":"object","properties":{"open":{"type":"boolean"},"spots_total":{"type":"integer"},"spots_left":{"type":"integer"},"price_per_month":{"type":"number"},"price_lock_months":{"type":"integer"}}},"demo":{"$ref":"#/components/schemas/Demo"},"signup":{"type":"object"}}},"SignupRequest":{"type":"object","required":["email","company","timezone"],"additionalProperties":false,"properties":{"email":{"type":"string","format":"email","description":"The account owner's own email address. The password link goes here."},"company":{"type":"string","minLength":2,"maxLength":120,"description":"The company the phone line is for."},"timezone":{"type":"string","description":"IANA time zone of the company, for call hours.","examples":["America/New_York"]},"name":{"type":"string","maxLength":120,"description":"The owner's name."},"agent":{"type":"string","maxLength":80,"description":"Optional label for the assistant making the call, for our records."},"utm_source":{"type":"string","maxLength":500},"utm_medium":{"type":"string","maxLength":500},"utm_campaign":{"type":"string","maxLength":500},"referrer":{"type":"string","maxLength":500,"description":"Where the person or assistant found us."}}},"SignupResponse":{"type":"object","required":["ok","status","next_step_url","next_step"],"properties":{"ok":{"type":"boolean","const":true},"status":{"type":"string","const":"account_created"},"email":{"type":"string"},"company":{"type":"string"},"trial":{"type":"object","properties":{"days":{"type":"integer"},"ends_on":{"type":"string","format":"date"}}},"founding":{"type":"object","description":"A founding spot is held when the owner sets the password.","properties":{"status":{"type":"string","enum":["held_on_password_set","not_available"]},"spots_left":{"type":"integer"}}},"setup_email":{"type":"string","enum":["sent","not_sent"]},"next_step_url":{"type":"string","format":"uri","description":"Give this to the owner. Sign-in page when the email was sent; a one-time password link when it was not."},"next_step":{"type":"string"},"setup_link_expires_at":{"type":"string","format":"date-time"},"pricing":{"type":"string","format":"uri"}}}}}}