# EMAK Telecom API Documentation > The EMAK Telecom REST API lets you automate your business phone system: users, extensions, numbers, call routing, SMS, fax, recordings, webhooks and billing. ## API Reference: Getting Started - [EMAK Telecom API overview](https://docs.emak.tech/reference/overview.md): Manage your EMAK Telecom business phone system from your own software: users, extensions, numbers, call routing, SMS, fax, recordings, webhooks, CRM sync and billing. - [Authentication](https://docs.emak.tech/reference/api-authentication.md): How to create, use, and revoke an EMAK Telecom API key. - [API v2 errors](https://docs.emak.tech/reference/v2-errors.md) ## API Reference: Account - [List accounts](https://docs.emak.tech/reference/get_domains.md): Returns the account records your API key can read — ordinarily just your own — ordered by domain name. `fields` replaces the default selection, and `enabled_only=true` drops disabled accounts. The… - [Fetch an account](https://docs.emak.tech/reference/get_domains-domainid.md): Returns your account record, as an array containing a single object rather than a bare object; an ID that matches nothing returns `[]`. The record is assembled from two reads, and if the supplemental… - [Find an account by domain name](https://docs.emak.tech/reference/get_domains_domain_by_name_domain_name.md): Looks an account up by its exact domain name and returns the matching account IDs. The name is matched as given, with no format checking, and a name that matches nothing returns an empty array.… ## API Reference: Users & Groups - [List users](https://docs.emak.tech/reference/getusers.md): Returns the people on your account. `enabled` filters by whether the account is active, and `with_extension=true` adds each person's primary extension. Requires an API key with the Admin role: a key… - [Create a user](https://docs.emak.tech/reference/post_users.md): Creates a person on your account — disabled to begin with — together with their group, extension and account assignments and their language and timezone settings, then emails them a link that lets… - [Fetch a user](https://docs.emak.tech/reference/fetchuser.md): Returns one person on your account, as an array containing a single object rather than a bare object; no match returns `[]`. An API key with the User role may only request its own ID — which is the… - [Update a user](https://docs.emak.tech/reference/patch_users_id.md): Updates either a person's account record (`target: "user"`) or their own profile (`target: "profile"`); the two branches accept different fields, and a `target` that is neither answers 200 without… - [Delete a user](https://docs.emak.tech/reference/delete_users_id.md): Removes a person from your account, along with their settings, groups, extension assignments, faxes, email-to-fax entries and account assignments. The stages run in sequence and are not… - [List a user's extensions](https://docs.emak.tech/reference/get_users_permissions_user_extensions_userid.md): Returns the extensions assigned to one person on your account; a person with none returns an empty array. An API key with the User role may only ask about its own ID — which is the key itself, not… - [List a user's groups](https://docs.emak.tech/reference/get_users_permissions_user_groups_userid.md): Returns the groups one person on your account belongs to. There is no 404: a person with no groups, or no such person, returns an empty array. An API key with the User role may only ask about its own… - [List a user's settings](https://docs.emak.tech/reference/get_users_permissions_user_settings_userid.md): Returns one person's stored settings. There is no 404: a person with no settings, or no such person, returns an empty array. An API key with the User role may only ask about its own ID — which is the… - [List groups](https://docs.emak.tech/reference/get_groups.md): Returns the permission groups a user can belong to: Members, Admins and Owners. The list is fixed and the same for every account — it is a catalog of roles, not a membership query, so a role nobody… ## API Reference: Phone Numbers - [List numbers](https://docs.emak.tech/reference/get_numbers.md): Returns every phone number on your account, ordered by number ascending. Per-number access grants are not applied here, so numbers you have not been granted access to are still listed.… - [Fetch a number](https://docs.emak.tech/reference/get_numbers_phonenumberid.md): Returns one phone number exactly as stored, without the renaming and type conversion the list endpoint applies — `enabled` and `destination_record` come back here as strings that may be null, not… - [Update a number](https://docs.emak.tech/reference/patch_numbers_phonenumberid.md): Updates a phone number's routing and settings. Fields you omit keep their current values. **Use it:** - Send only the fields you want to change. - On an account that routes calls only through call… - [List number access](https://docs.emak.tech/reference/get_numbers_phonenumberid_access.md): Returns who can use a phone number: groups first, then users, with owners listed before members in each. Disabled user accounts are left out. An Admin key can read the access list for any number on… - [Grant number access](https://docs.emak.tech/reference/post_numbers_phonenumberid_access.md): Grants a user or group access to a phone number, as a `member` unless you ask for `owner`. Because a number must always have an owner, adding the first grant can also create one — possibly making the… - [Update number access](https://docs.emak.tech/reference/patch_numbers_phonenumberid_access.md): Changes an existing grant's role between `owner` and `member`. The principal must already have a grant on the number — use `POST` to add one. A number must always keep at least one owner, so demoting… - [Revoke number access](https://docs.emak.tech/reference/delete_numbers_phonenumberid_access.md): Removes a user's or group's access grant on a phone number. A number must always keep at least one owner, so removing the last one is refused with 409. Removing a grant that does not exist still… - [Search available local numbers](https://docs.emak.tech/reference/post_numbers_available_local.md): Searches for local numbers you can order and saves the results so `POST /api/v1/numbers/orders` can order one — a number must come from a search before it can be ordered. Every filter is optional and… - [Search available toll-free numbers](https://docs.emak.tech/reference/post_numbers_available_toll_free.md): Searches for toll-free numbers you can order and saves the results so `POST /api/v1/numbers/orders` can order one. `tollFreePattern` both narrows the search and highlights the matching digits in the… - [Submit a number inquiry](https://docs.emak.tech/reference/post_numbers_inquiry.md): Emails our support team asking about a specific phone number, together with the identity your API key authenticated as. It does not order, reserve or check availability for the number — use the… - [Order a number](https://docs.emak.tech/reference/post_numbers_orders.md): Orders a phone number from a recent availability search and starts billing for it. **This spends money and can't be undone through this API.** To stop paying for a number, disconnect it. **Use… - [List transfer requests](https://docs.emak.tech/reference/get_numbers_transfers.md): Lists the requests to transfer numbers in from another carrier on your account, newest first, optionally narrowed by `status`. Number counts, carrier lists and requester avatars are gathered in… - [Create a transfer request](https://docs.emak.tech/reference/post_numbers_transfers.md): Starts a request to transfer numbers in from your current carrier, created with status `requested`. Porting is a multi-day process agreed with the losing carrier: nothing changes on the numbers now,… - [Fetch a transfer request](https://docs.emak.tech/reference/get_numbers_transfers_requestid.md): Returns one transfer request in full, including its numbers, port orders, notes and activity history, plus a temporary download link for the uploaded bill. The related records are read separately, so… ## API Reference: Messaging - [Send an SMS](https://docs.emak.tech/reference/sendmessage.md): Sends an SMS — or an MMS, when `media` is supplied — from one of your account's phone numbers to one or more recipients. The number in `fromNumber` must be one you have access to; a number you do not… ## API Reference: Canned Responses - [List canned responses](https://docs.emak.tech/reference/get_canned-responses.md): Returns the saved reply templates on your account, each with its title, default language and the text recorded for every language it has been written in. Templates that have been deleted are left out. - [Create a canned response](https://docs.emak.tech/reference/post_canned-responses.md): Creates a saved reply template together with its first piece of text: `canned_response_title` and `default_language` are stored on the template, while `message_language`, `message_text` and… - [Fetch a canned response](https://docs.emak.tech/reference/get_canned-responses-cannedresponseid.md): Returns one template (`type=response`) or one of its language entries (`type=text`) as an array of zero or one element, so read it at index `[0]`. An empty array means there is no matching record. A… - [Update a canned response](https://docs.emak.tech/reference/patch_canned-responses-cannedresponseid.md): Updates a template's title and default language, and at the same time either edits one of its language entries or adds a new one. Send `is_new: true` to add an entry; otherwise… - [Delete a canned response](https://docs.emak.tech/reference/delete_canned-responses-cannedresponseid.md): Removes an entire template (`type=response`) or a single language entry within one (`type=text`). Deleting a template is a soft delete — it stops appearing in listings but its text entries are kept —… ## API Reference: Extensions - [List extensions](https://docs.emak.tech/reference/get_extensions.md): Lists the extensions on your account, sorted by extension number. By default, only enabled extensions are returned. A key without the Admin role sees only the extensions it owns. Each item includes… - [Create an extension](https://docs.emak.tech/reference/post_extensions.md): Creates an extension and, optionally, its mailbox, device lines and follow-me setup in one request. The SIP password is generated for you. A request that fails validation creates nothing. If the… - [Get an extension](https://docs.emak.tech/reference/get_extensions_extensionid.md): Returns one extension as an array with a single item. The item includes the extension's SIP `password`, so handle the response as a credential. `voicemail` includes message counts in… - [Update an extension](https://docs.emak.tech/reference/patch_extensions_extensionid.md): Updates an extension. Only the fields you send change. The extension number cannot be changed. Changing `effective_caller_id_name` also updates the extension's device line and its busy lamp field… - [Assign an extension to a user](https://docs.emak.tech/reference/put_extensions_extensionid_assignment.md): Makes one user the extension's only owner, replacing any existing users. The user must belong to the extension's account. To find a user's UUID, use List users. Requires an API key with the Admin… - [Unassign an extension](https://docs.emak.tech/reference/delete_extensions_extensionid_assignment.md): Removes every user from the extension. The extension is not deleted or disabled, so you can assign it to someone else with Assign an extension to a user. Requires an API key with the Admin role. - [Import extensions in bulk](https://docs.emak.tech/reference/post_extensions_import.md): Creates up to 200 extensions on your account in one request. Send `mode` as `validate` first. It checks every row and reports conflicts and available licensed seats without writing anything. Send… - [List registrations](https://docs.emak.tech/reference/get_registrations_domain_name.md): Returns the devices currently registered on your account, read live from the phone server that hosts it. An extension can appear more than once, for example when a desk phone and a softphone are… - [Count registrations](https://docs.emak.tech/reference/get_registrations_domain_name_count.md): Returns how many devices are currently registered on your account. Use it when you only need the total. It has the same access rules and errors as List registrations. ## API Reference: Voicemail - [List mailboxes](https://docs.emak.tech/reference/get_voicemails.md): Lists the shared mailboxes on your account, sorted by description. A shared mailbox is a mailbox that is not tied to an extension. Each one includes its settings, keypad options, copy destinations,… - [Create a shared mailbox](https://docs.emak.tech/reference/post_voicemails.md): Creates a shared mailbox on your account. Leave out `voicemail_id` to get a free number from 2000 to 2999. New mailboxes use the standard greeting. To add a greeting, use the web app or the phone… - [Get a mailbox](https://docs.emak.tech/reference/get_voicemails_voicemailid.md): Returns one mailbox and its settings. It can be a shared mailbox or an extension mailbox. The two kinds have slightly different fields, shown under the 200 response. `greeting_id` is the default… - [Update a mailbox](https://docs.emak.tech/reference/patch_voicemails_voicemailid.md): Updates a shared or extension mailbox. Only the fields you send change. `voicemail_options` and `voicemail_destinations` replace the whole list, so an empty array clears it. `voicemail_greetings`… - [Delete a mailbox](https://docs.emak.tech/reference/delete_voicemails_voicemailid.md): Permanently deletes a mailbox with its keypad options, copy destinations, messages, greetings, recorded name and audio. Works on shared and extension mailboxes. Deleting an extension mailbox does not… - [Reset a mailbox](https://docs.emak.tech/reference/post_voicemails_voicemailid_reset.md): Returns a mailbox to a clean state. Deletes every message and greeting, the recorded name and stored audio. Clears the default greeting, alternate greeting and any away greeting, and turns off the… ## API Reference: E911 - [List E911 registrations](https://docs.emak.tech/reference/get_e911_registrations.md): Lists the emergency address registered against each of your numbers, reconciling the addresses you have registered with the numbers actually in use as caller ID. A number with no registered address… - [Register an E911 address](https://docs.emak.tech/reference/post_e911_registrations.md): Registers the physical address emergency services are given when someone calls 911 from `caller_id`. Verify the address before sending it — this is the address dispatchers use to find the caller. The… - [Fetch an E911 registration](https://docs.emak.tech/reference/get_e911_registrations_number.md): Returns the same full list as `GET /api/v1/e911_registrations`: the `{number}` in the path is ignored, so pick out the number you want yourself. Numbers with no registered address come back with… - [Register an E911 address for a number](https://docs.emak.tech/reference/post_e911_registrations_number.md): Registers the emergency address for the number in `caller_id`. The `{number}` in the path is ignored, so the body alone decides which number is registered — check the two agree before sending. This… - [Fetch emergency routing](https://docs.emak.tech/reference/get_emergency_routing.md): Returns whether emergency routing is enabled for your account and the number emergency calls are sent to. An account that has never configured it gets `enabled: false` and an empty… - [Enable emergency routing](https://docs.emak.tech/reference/post_emergency_routing.md): Enables emergency routing for your account and sets the number emergency calls are sent to, then regenerates and reloads the routing so it applies to the next call. The value is stored exactly as… - [Disable emergency routing](https://docs.emak.tech/reference/delete_emergency_routing.md): Turns off emergency call routing for your account and regenerates the routing that carries it, so emergency calls stop following the configured number from the next call onward. The number you set… ## API Reference: Contacts - [List contacts](https://docs.emak.tech/reference/get_contacts.md): Returns the contacts on your account that your API key is allowed to see. A bare request returns the whole contact book unpaged; supplying `limit` or `search` switches the endpoint into paged mode,… - [Create a contact](https://docs.emak.tech/reference/post_contacts.md): Creates a contact in your account's contact book. The owner, account and source are taken from your API key and cannot be set from the body. The write is not atomic: the contact is stored first and… - [Fetch a contact](https://docs.emak.tech/reference/get_contacts_contactid.md): Returns one contact, as an array containing a single object rather than a bare object. There is no 404: an unknown ID, or a private contact you are not allowed to see, comes back as 200 with `[]`.… - [Update a contact](https://docs.emak.tech/reference/patch_contacts_contactid.md): Updates a contact and returns it. The `contact` object is a true partial update — only the keys you send are written — but `phones`, `emails` and `addresses` are wholesale replacements: any stored… - [Delete a contact](https://docs.emak.tech/reference/delete_contacts_contactid.md): Disables the contact so it disappears from every read, while keeping its phones, emails and addresses so it can be recovered. Its phone-number index entries are removed, so the next inbound call or… - [List who a contact is shared with](https://docs.emak.tech/reference/get_contacts_contactid_sharing.md): Returns the users and inboxes a contact is shared with. You must own the contact or use an API key with the Admin role. - [Share a contact](https://docs.emak.tech/reference/post_contacts_contactid_sharing.md): Shares a contact with one user or one inbox. The `id` you send is stored as given and is not checked against the users and inboxes on your account — only the contact is. The new share's ID is not… - [Stop sharing a contact](https://docs.emak.tech/reference/delete_contacts_contactid_sharing.md): Removes one share from a contact. This DELETE requires a JSON body carrying `sharing_id`. The removal is matched on both the share and the contact, so a `sharing_id` that belongs to a different… - [Add a billing contact](https://docs.emak.tech/reference/post_customer_contacts_billing.md): Adds a billing contact to your account and attaches it to one of your subscriptions. `name` is sanitized and split on its first space into a first and last name, and the contact is filed with the… - [Update a billing contact](https://docs.emak.tech/reference/patch_customer_contacts_billing_contact_person_id.md): Rewrites a billing contact from the body — despite the verb this is not a field-wise patch. `name` is required on every call, even when only the phone number changes, and omitting `email` or `phone`… - [Delete a billing contact](https://docs.emak.tech/reference/delete_customer_contacts_billing_contact_person_id.md): Detaches a billing contact from the subscription and then deletes the contact. Both the contact and the subscription are checked against your account before anything changes. If the final delete… - [Set the primary contact](https://docs.emak.tech/reference/put_customer_contacts_primary.md): Sets the primary contact on your account, updating the existing one or creating it if there is none. The status code is the only signal of which happened: 200 for an update, 201 for a create. The… - [Delete the primary contact](https://docs.emak.tech/reference/delete_customer_contacts_primary.md): Not supported: your account must always have a primary contact, so this always answers 409 and changes nothing. Use `PUT /api/v1/customer_contacts/primary` to change who the primary contact is. - [Add a technical contact](https://docs.emak.tech/reference/post_customer_contacts_technical.md): Adds a technical contact to your account. Unlike billing and primary contacts, technical contacts are kept on the account record itself and are never sent to billing. The role, timestamps and… - [Update a technical contact](https://docs.emak.tech/reference/patch_customer_contacts_technical_contact_id.md): Replaces a technical contact's name, email and phone. Despite the verb this is not a field-wise patch: `name` is required on every call, and an omitted `email` or `phone` is written as null. The… - [Delete a technical contact](https://docs.emak.tech/reference/delete_customer_contacts_technical_contact_id.md): Deletes a technical contact from your account. It answers 200 even when nothing matched, so deleting an ID that does not exist is indistinguishable from a real deletion — read the contacts back if… ## API Reference: Call Routing - [List phone menus](https://docs.emak.tech/reference/fetchphonemenus.md): Lists the phone menus on your account, ordered by extension number ascending. `direct_dial` comes back as a real boolean here, while the other fields keep their stored types. List rows do not carry… - [Create a phone menu](https://docs.emak.tech/reference/createphonemenu.md): Creates a phone menu together with its key presses and its call routing. The number the menu answers on is allocated for you from your account's free range — an `extension` you send is ignored — and… - [Fetch a phone menu](https://docs.emak.tech/reference/fetchphonemenubyid.md): Returns one phone menu as an array holding the single menu, not a bare object. Only this read is enriched: `managed_by` is non-null when a call flow owns the menu, in which case writes to it answer… - [Update a phone menu](https://docs.emak.tech/reference/patch_ivr_menus_menuid.md): Updates a phone menu. A partial body is safe: your fields are merged over the current menu, so anything you omit is preserved. A sound field you send is replaced whole; one you omit keeps its sound.… - [Delete a phone menu](https://docs.emak.tech/reference/deletephonemenu.md): Permanently deletes the menu, its key presses and its call routing. Pass only ids you got from `GET /api/v1/ivr_menus` — the delete is keyed on the id alone. The steps are not atomic: if the menu… - [List ring groups](https://docs.emak.tech/reference/get_ring_groups.md): Lists every ring group on your account with its member destinations embedded. There are no ordering or pagination parameters. List rows do not carry `managed_by` or `replaced_by_flow` — fetch a group… - [Create a ring group](https://docs.emak.tech/reference/post_ring_groups.md): Creates a ring group, its member destinations and its call routing. The extension number is allocated for you — a `ring_group_extension` you send is ignored, and reserved-range numbers are refused.… - [Fetch a ring group](https://docs.emak.tech/reference/get_ring_groups_id.md): Returns one ring group with its destinations, plus the two call-flow fields the list omits. `managed_by` is non-null when a call flow owns the group, in which case PATCH and DELETE here answer 409;… - [Update a ring group](https://docs.emak.tech/reference/patch_ring_groups_id.md): Updates a ring group in place: your body is merged over the current group, then the group and its call routing are rewritten. Every key you send is applied, including an explicit null, so send only… - [Delete a ring group](https://docs.emak.tech/reference/delete_ring_groups_id.md): Permanently deletes the ring group, its destinations and its call routing. Pass only ids you got from `GET /api/v1/ring_groups` — the delete is keyed on the id alone. A group owned by a call flow… - [List time conditions](https://docs.emak.tech/reference/get_time_conditions.md): Returns the time conditions on your account, ordered by extension number ascending. List rows carry the stored definition only — they do not include the `managed_by` and `replaced_by_flow` fields… - [Create a time condition](https://docs.emak.tech/reference/post_time_conditions.md): Creates a time condition on your account and returns its identifiers — note that success is `200`, not `201`. The ID, extension number and routing entry are all assigned for you; any field in the… - [Retrieve a time condition](https://docs.emak.tech/reference/get_time_conditions_id.md): Returns a single time condition, enriched with `managed_by` when a call flow owns it and `replaced_by_flow` when it has been converted into one — `managed_by` takes precedence when both apply. The… - [Update a time condition](https://docs.emak.tech/reference/patch_time_conditions_id.md): Updates a time condition in place; fields you omit keep their current values, while `conditions` is replaced wholesale by whatever array you send. Send `expected_update_date` to avoid clobbering a… - [Delete a time condition](https://docs.emak.tech/reference/delete_time_conditions_id.md): Deletes a time condition and the routing entry behind it. A condition that a call flow manages, or whose routing entry another flow points at, is refused with 409 and the offending flow named —… - [List magic routes](https://docs.emak.tech/reference/get_magic_routing.md): Returns every magic route on your account, newest first. Each entry includes its routing program in `code`, which can be large. There are no filter or pagination parameters. - [Create a magic route](https://docs.emak.tech/reference/post_magic_routing.md): Creates an empty magic route. It has no routing program, is disabled and has no extension number, so no call can reach it yet: set `code` with `PATCH /api/v1/magic_routing/{id}`, then call `POST… - [Fetch a magic route](https://docs.emak.tech/reference/get_magic_routing_id.md): Returns one magic route, including its routing program in `code`, its `routing_summary` and its current `test_listeners`. A route that is not on your account is reported as 404, the same as one that… - [Update a magic route](https://docs.emak.tech/reference/patch_magic_routing_id.md): Updates a magic route in place; fields you omit keep their current values. Only the fields below are writable and anything else in the body is ignored without an error, so `extension_number`,… - [Delete a magic route](https://docs.emak.tech/reference/delete_magic_routing_id.md): Permanently deletes a magic route together with its stored secrets and its conversation history, and removes the routing that made it reachable. This cannot be undone, and the secrets cannot be… - [Deploy a magic route](https://docs.emak.tech/reference/post_magic_routing_id_deploy.md): Makes a magic route live. The first deploy assigns the route an internal extension number and creates the routing that sends calls to its program; later deploys reuse that routing and re-enable it,… - [List secrets](https://docs.emak.tech/reference/get_magic_routing_id_secrets.md): Returns the names and descriptions of the secrets stored against a magic route. Secret values are never returned by this or any other endpoint, so a value you lose must be stored again. An unknown… - [Delete a secret](https://docs.emak.tech/reference/delete_magic_routing_id_secrets.md): Removes a stored secret from a magic route by name. The route itself is never checked, so deleting against an ID with no route returns 200, as does deleting a name that was never stored. Nothing on… - [Register a test listener](https://docs.emak.tech/reference/put_magic_routing_id_test_listener.md): Registers your key as a live-test listener on a magic route for 120 seconds and prunes expired registrations in the same write; the in-app panel repeats this call every 60 seconds as a heartbeat. The… - [Remove your test listener](https://docs.emak.tech/reference/delete_magic_routing_id_test_listener.md): Removes your own live-test listener registration from a magic route, along with any expired registrations. This supports the in-app live-test panel and changes nothing about how calls are routed. It… - /time_conditions/{id}/simulate - [Simulate a time condition](https://docs.emak.tech/reference/post_time_conditions_id_simulate.md): Shows where calls to a time condition go, without changing anything. - **At given times:** pass `times` to see which route each call would take. - **Over a period:** pass `from` and `to` to get… ## API Reference: Call Block - [List call blocking rules](https://docs.emak.tech/reference/get_call_block.md): Returns every inbound call blocking rule on your account. There are no filter, ordering or pagination parameters, so the full set comes back in one response. A key that is limited to specific… - [Create a call blocking rule](https://docs.emak.tech/reference/post_call_block.md): Adds an inbound blocking rule, then rebuilds and reloads your account's call blocking routing so it applies to the next call. New rules are created enabled with a match count of zero. The new rule's… - [Fetch a call blocking rule](https://docs.emak.tech/reference/get_call_block_id.md): Returns one call blocking rule as a single-element array, which differs from the other detail reads in this API. A rule that is not on your account is reported as 404, the same as one that does not… - [Update a call blocking rule](https://docs.emak.tech/reference/patch_call_block_id.md): Updates a call blocking rule in place, then rebuilds and reloads your account's call blocking routing. **Always resend `call_block_name`**: omitting that one key clears the name, while every other… - [Delete a call blocking rule](https://docs.emak.tech/reference/delete_call_block_id.md): Deletes a call blocking rule, then rebuilds and reloads your account's call blocking routing. The rule is gone permanently; there is no undo, so recreate it from scratch if you need it back. ## API Reference: Calls - [Place a call](https://docs.emak.tech/reference/post_calls.md): Places a call from one of your extensions. Give the account domain in `tenant` and the originating extension in `extension`; every other field you send is forwarded to the call service unchanged, and… - [Get a call](https://docs.emak.tech/reference/get_calls-callid.md): Returns the current state of a call by its identifier. The call service's response is passed back with its status intact — including its failures, which are returned before the ownership check runs.… - [Get a call record](https://docs.emak.tech/reference/get_cdr_call_records_call_uuid.md): Returns the full record of one completed call. The `flow` and transcript parts are omitted unless you ask for them with `include`. A key with the Admin role can read any call on the account except… - [Get a call's recording](https://docs.emak.tech/reference/get_cdr_call_records_call_uuid_recording.md): Returns the recording of a completed call in one of three shapes, chosen by the request itself: send `Accept: application/json` for a temporary URL, add `download=1` for the audio bytes as an… - [List live calls](https://docs.emak.tech/reference/get_calls_v2_domain_name.md): Lists the calls in progress on your account right now, read live from the voice server assigned to it. The response comes from that server, so its status and shape are defined there rather than here,… ## API Reference: Call History - [Call history](https://docs.emak.tech/reference/call-history.md): GET https://api.emaktalk.com/api/v2/call_records lists the calls on your account, one record per call. This guide gets you to a working paged request, then covers dates, paging, freshness, errors and… - [Call outcomes](https://docs.emak.tech/reference/call-statuses.md): Every call record carries a status, a direction and a voicemail_left flag. Together they say how a call ended. This page lists the vocabulary, explains the one filter that matches what people mean by… - [List call records](https://docs.emak.tech/reference/get_call_records.md): Searches your account's call records, newest first, one record per call. **Use it:** - Filter by time (`from`, `to`), parties, outcome, or what was said (`transcript_q`). - Follow `next_cursor`… - [Get a call record](https://docs.emak.tech/reference/get_call_records_id.md): Returns one call record, complete: its facts, its recordings (each with a transcript summary), its analyses in brief and its journey (the journey only for admins, the reporting role and API keys).… - [Check a call record](https://docs.emak.tech/reference/head_call_records_id.md): The same status and headers as `GET`, with no body. `include` is checked the same way: a part you may not see answers 403. Never recorded in the access log. - [Get a call transcript](https://docs.emak.tech/reference/get_call_records_id_transcript.md): Returns every transcript of a call, whole: one per recording, in call order, each turn by turn with its speaker table. **Use it:** 1. Read the record's `transcript` summary; fetch when its state is… - [Check a call transcript](https://docs.emak.tech/reference/head_call_records_id_transcript.md): The same status and headers as `GET`, its `ETag` included, with no body. Never recorded in the access log. - [Get a call analysis](https://docs.emak.tech/reference/get_call_records_id_analyses_kind.md): Returns one analysis of a call, whole, by its `kind` (a key of the record's `analyses`). **Response:** `{ data }`: `state`, `generated_at`, `model`, `schema`, `headline` (when the kind has one), the… - [Play or download a recording](https://docs.emak.tech/reference/get_call_records_id_recordings_recording_id.md): Redirects to a signed link to one recording's audio. A record's `media_url` and `download_url` point here. **Use it:** 1. **In a player** (an `