Generated from the engine operation registry.
Developers
Operations
60 operations
billing10
billing.offers
- Minimum role
- agent
- Helper key
- yes
What can be bought, with its exact price and terms: the only prices that may be said to a customer. Amounts are whole agorot (9900 is 99.00 shekels).
Input
No input fields.
billing.summary
- Minimum role
- agent
- Helper key
- yes
This account's plan, when it renews, the saved card (brand and last four digits only), what is owed, and any charge in progress or in trouble. plan_change says what moving to each other plan would cost now and add, a move to a smaller plan that is waiting for the renewal, and any reason the plan cannot be changed now. A plan that was cancelled (cancel_at_period_end) works in full to the end of its paid month, and is kept, or moved from, only by the customer typing the card again on the secure page. A payment has succeeded only when a charge here says succeeded. frozen says the account is frozen for a disputed charge: calls are refused, no payment can be started and a payment page left open is closed, until a person at Telfluent lifts it; nothing here can.
Input
No input fields.
billing.checkout.link
- Minimum role
- owner
- Helper key
- no
The address of the secure payment page for a session, for the signed-in owner's own browser.
Input
onboarding_session_idstringrequiredThe payment session
maxLength: 64
billing.checkout.status
- Minimum role
- agent
- Helper key
- yes
Where a payment session stands. The plan is active only when this says ready: not when the link was opened, and not when the customer says they paid.
Input
onboarding_session_idstringrequiredThe payment session
maxLength: 64
billing.quota.level
- Minimum role
- owner
- Helper key
- no
Enterprise only: set the level, the number of minutes the balance is brought back up to at each charge, in seconds (whole minutes times 60). It charges nothing by itself and takes nothing back; it applies from the next charge. Never under the least or over the most that billing.summary shows under quota. Returns the summary.
Input
level_secondsintegerrequiredThe level, in seconds: whole minutes times 60
billing.ledger
- Minimum role
- agent
- Helper key
- yes
Every line of money on this account, newest first: charges, payments, credits, refunds. Positive is owed, negative is paid or credited. What is owed is their sum. note is always null: the service's own bookkeeping text is not sent. note_code says what a plan's fee is, as a fixed code or null: first_month, renewal, plan_change.
Input
limitintegeroptionalHow many to return (default 50, max 200)
default: 50minimum: 1maximum: 200cursorstringoptionalOpaque cursor from a previous page
billing.documents
- Minimum role
- agent
- Helper key
- yes
The legal documents for this account's payments (tax invoice / receipt, and any correcting a refund), newest first: its state, and once issued its number and a link to it. The link is on this API's own address, opens the PDF, and stops working after a short time: every answer carries a new one. A document exists only when its state is issued; one being prepared has no number yet. No document can be made, changed or made again from here.
Input
limitintegeroptionalHow many to return (default 50, max 200)
default: 50minimum: 1maximum: 200cursorstringoptionalOpaque cursor from a previous page
billing.document.send
- Minimum role
- agent
- Helper key
- yes
Send an EXISTING issued document again: by SMS to the account owner's own phone, or return its link. The link is on this API's own address and stops working after a short time (the one sent by SMS lives longer). It never creates a document, and there is no destination to give.
Input
document_idstringrequiredThe document, from billing.documents
maxLength: 64channelstringoptionalsms sends the link to the owner's phone; link returns it
"sms""link"default: "link"
billing.identity.get
- Minimum role
- agent
- Helper key
- yes
Who this account's documents are made out to: the legal name, the email they are sent to, and for a business its company number. Each is the value in force. stored says what the customer typed for the name and for the email: null there means nothing is typed, and the value in force is the account's own (the business name and the owner's email from sign-up).
Input
No input fields.
billing.government.apply
- Minimum role
- owner
- Helper key
- no
A public body signs up for the government plan on the website. The account then waits until Telfluent approves it. Until approved nothing is interpreted or charged. No voice assistant.
Input
body_namestringrequiredThe public body's name
maxLength: 200
account2
account.close
- Minimum role
- owner
- Helper key
- no
Close the account for good. Only after the renewal of its plan was cancelled (or the plan stopped), with nothing owed, no payment open and the account not frozen. confirm is typed by the owner himself: never type it for a customer, and never suggest it. On an Enterprise account it must be the sentence "close account with no further claim permanently" (or its Hebrew form), and acknowledge must be true: the owner ticked that the minutes left are given up and that this phone and email can then open only a regular account. On every other plan it must be exactly what account.get gives under close.confirm: "delete-account-and-usage-is-not-refunded" while the paid month of the cancelled plan still runs, "DELETE" after it. No money is returned and no minutes are returned; on Enterprise the minutes left are given up with no further claim to them. The managers, workers, codes and settings stop, and every key of the account is revoked: this is the last answer the key gets. It cannot be undone. Nothing is carried over to another account. A closed Enterprise account's phone and email may sign up again for a new account of another plan, never for a new Enterprise plan; another plan's can sign up again as a new customer.
Input
confirmstringrequiredWhat the owner typed, exactly
maxLength: 200acknowledgebooleanoptionalEnterprise: true when the owner himself ticked the box that the minutes left are given up and that this phone and email can then open only a regular account, never another Enterprise account; refused close_not_acknowledged without it
account.get
- Minimum role
- agent
- Helper key
- yes
Details of the account this token belongs to. close is what the dashboard shows the close-account button by, on every plan but Enterprise (null there, and while payment is not set up): refused is the reason account.close would be refused now (close_not_cancelled while the renewal of the plan is not cancelled) or null when it can be asked for, and confirm is what the owner types into the box now. calls_refused is no_language while the account has no language (calls that need one are refused until language.add), else null; refused_callers says exactly who is refused then: the side of the employer on the in-person number (employer_side_doors), and the workers with a phone and no language of their own (workers_without_language, how many); a worker with a language of his own is not refused. Null while the account has a language, and where another refusal comes first (an account not active, a temp or a family account, an account the billing gate refuses, or an account with no minutes left whose overage is cut).
Input
No input fields.
personal1
personal.orders
- Minimum role
- agent
- Helper key
- yes
This Personal account’s orders of blocks: for each order its blocks and their seconds, the seconds used and left of each, whether a block was opened (used from its first second) or frozen, when the order ends (one clock from its purchase for all its blocks), and until when money back may be asked for on it. seconds_left is what calls may still use now: the soonest-ending minutes are used first, and no call runs past an order’s end. Minutes only: a block is never money.
Input
No input fields.
safety9
safety.appendix.cancel
- Minimum role
- owner
- Helper key
- no
Cancel only the renewal of the safety-training appendix. No money comes back. The appendix runs to the end of its paid period; then the account is plain Enterprise: the minutes stay, every safety ability and setting is gone.
Input
No input fields.
safety.arm.create
- Minimum role
- owner
- Helper key
- no
Open an arm of a safety-training: instructor, place and date. Returns the day's join code. The link holds until 20:00 Israel time that day, or until the instructor closes.
Input
instructorstringrequiredThe instructor
maxLength: 120placestringrequiredThe place
maxLength: 200datestringrequiredThe date (YYYY-MM-DD)
maxLength: 10languagestringoptionalThe training's language, when named
maxLength: 16opening_messagestringoptionalThe opening message id
maxLength: 64
safety.arm.close
- Minimum role
- owner
- Helper key
- no
Close a training arm. Builds the daily documentation package per worker (phone, language, declared name, press-1, answers as keys pressed: this phone pressed this key, not who held it, not proof of the whole training, not a certified translation). Kept 18 months.
Input
arm_idstringrequiredThe arm
maxLength: 64
safety.arm.list
- Minimum role
- owner
- Helper key
- no
List this account's safety-training arms.
Input
No input fields.
safety.questionnaire.set
- Minimum role
- owner
- Helper key
- no
Set the optional comprehension questionnaire: its questions and answers. It is not played until a human has checked its translation. Never presented as a certified translation or as proof of understanding beyond the key pressed.
Input
questionsobject[]requiredQuestions: each has id, prompt and answers
onbooleanoptionaltrue to play it once a human has checked the translation
default: false
safety.questionnaire.check
- Minimum role
- owner
- Helper key
- no
Record that a human checked the questionnaire's translation for one language before use. Without this the questionnaire is not played.
Input
questionnaire_idstringrequiredThe questionnaire
maxLength: 64languagestringrequiredThe language of this translation
maxLength: 16questionsobject[]requiredThe checked questions and answers in that language
checked_bystringrequiredThe person who checked it
maxLength: 120
safety.questionnaire.answer
- Minimum role
- owner
- Helper key
- no
Record a key pressed on the questionnaire. Proves this phone pressed this key. Does not prove who held the phone, understanding of the whole training, or a certified translation.
Input
join_idstringrequiredThe joining
maxLength: 64question_idstringrequiredThe question
maxLength: 64key_pressedstringrequiredThe key pressed
maxLength: 8
safety.packages
- Minimum role
- owner
- Helper key
- no
The daily documentation packages of one training arm, kept 18 months: per-worker logs. Identity numbers are not in them.
Input
arm_idstringrequiredThe arm
maxLength: 64
safety.join
- Minimum role
- owner
- Helper key
- no
A worker joins today's training by the code: the language, the name said (read back), press 1. Identity numbers are not collected. Voice and words are not recorded. The link holds until 20:00 Israel time, or until the instructor closed.
Input
codestringrequiredThe day's code
maxLength: 16languagestringrequiredThe worker's language
maxLength: 16declared_namestringrequiredThe name said, read back
maxLength: 120phonestringoptionalThe worker's phone
maxLength: 20
private4
private.get
- Minimum role
- agent
- Helper key
- yes
Read this account’s private number and state. The code is never included. languages is the list in force, or null when the number was never set (interpreting is refused until the languages are chosen; null is not “all”). menu is the two switches (in_person, dial_out). renews_at is the next renewal (null while it waits for a number), cancel_at_period_end whether its renewal was cancelled (it then runs to ends_at and goes), and on the temp workers number minutes_left and minutes_used are its own minutes of the current period. With staff_id, waiting: true is that arm’s paid add-on waiting for a number; without it, the temp number’s.
Input
staff_idstringoptionalThe Enterprise arm, when this is an arm number
maxLength: 64
private.code.get
- Minimum role
- owner
- Helper key
- no
Read the private number’s switch code on the owner dashboard.
Input
staff_idstringoptionalThe Enterprise arm, when this is an arm number
maxLength: 64
private.code.set
- Minimum role
- owner
- Helper key
- no
Change the private number’s switch code on the owner dashboard.
Input
staff_idstringoptionalThe Enterprise arm, when this is an arm number
maxLength: 64codestringoptionalDigits; leave out for a new engine-made code
maxLength: 16
private.addon.quote
- Minimum role
- agent
- Helper key
- yes
Read the arm add-on’s price from the catalogue, before asking the owner to confirm buying it: the same quote billing.offers gives a plan. Starts nothing and charges nothing.
Input
staff_idstringrequiredEnterprise arm
maxLength: 64
code2
code.get
- Minimum role
- agent
- Helper key
- yes
The six-digit code workers enter on their first call to join this account, how many phones may join, and how many have. worker.list shows who they are. managers: how many managers on the employer's side may have a phone (the owner is one; null is no limit), how many have, and the range the owner may set that number in himself with setting.set (both null: he cannot). On Enterprise there is no account code (null): each arm has its own, on staff.list.
Input
No input fields.
code.rotate
- Minimum role
- owner
- Helper key
- owner may enable
Replace the join code. Phones already joined stay; the old code stops working for new ones. On Enterprise name the arm whose code it is (staff_id); on the other plans there is one code and nobody to name.
Input
staff_idstringoptionalEnterprise only: the arm whose code is replaced
maxLength: 64
language5
language.catalog
- Minimum role
- agent
- Helper key
- yes
Every language the service knows, and whether it can be sold yet.
Input
No input fields.
language.list
- Minimum role
- agent
- Helper key
- yes
Languages this account has.
Input
No input fields.
language.add
- Minimum role
- agent
- Helper key
- yes
Add a language to this account. It takes the next free key on the phone menu (at most 9, one key each). Refused unless the language pair is available.
Input
languagestringrequiredISO code, e.g. th
maxLength: 8
language.reorder
- Minimum role
- agent
- Helper key
- yes
Set the key order of this account's languages: the first listed is key 1 on the phone menu. List every language the account has, each once.
Input
languagesstring[]requiredISO codes, all of them, in key order
language.remove
- Minimum role
- agent
- Helper key
- yes
Remove a language from this account. The last language of an account is not removed (last_language). One that workers use is removed, and they keep it: workers_keeping is how many workers of the account have that language still.
Input
languagestringrequiredISO code
maxLength: 8
worker4
worker.list
- Minimum role
- agent
- Helper key
- yes
Workers registered on this account. On Enterprise each row says which arm the worker belongs to (staff_id; his number, short, is his number in that arm's list: two digits from 10, three, 100 to 999, after the 90th), the minutes his phone used this month, and under own_use what applies now to his own use of the in-person number: allowed or not, which level decided, the allocation and what he used of it. staff_id gives one arm's workers only.
Input
staff_idstringoptionalEnterprise only: one arm's workers
maxLength: 64limitintegeroptionalHow many to return (default 50, max 200)
default: 50minimum: 1maximum: 200cursorstringoptionalOpaque cursor from a previous page
worker.in_person
- Minimum role
- agent
- Helper key
- yes
Let one worker use the in-person number on their own, or stop them. Omit "allowed" to follow the account setting again (on Enterprise: to follow his arm).
Input
worker_idstringrequiredWorker id
maxLength: 64allowedbooleanoptionaltrue to allow, false to forbid
worker.update
- Minimum role
- agent
- Helper key
- yes
Name a worker who joined by code, or set the gender that picks the voice speaking their words. Send only what changes. On Enterprise also: staff_id moves him to that arm's list, where he gets a new number (10 to 999); in_person_cap_minutes is his own monthly allocation: how many minutes a month he may use the in-person number on his own (null removes it).
Input
worker_idstringrequiredWorker id
maxLength: 64labelstringoptionalA name you will recognise
maxLength: 120genderstringoptionalPicks the voice that speaks their words
"male""female"staff_idstringoptionalEnterprise only: the arm he moves to
maxLength: 64in_person_cap_minutesnumberoptionalEnterprise only: his own monthly allocation for using the in-person number alone, in whole minutes; null removes it
worker.revoke
- Minimum role
- agent
- Helper key
- yes
Stop a worker from using the line. Takes effect on the next call. Asked again of a worker already removed it changes nothing: he stays removed since the first time.
Input
worker_idstringrequiredWorker id
maxLength: 64
staff4
staff.add
- Minimum role
- agent
- Helper key
- yes
Register someone on the employer side — a foreman or manager. With a phone he takes one of the plan's manager seats (code.get shows them) and is refused when none is left. A phone typed on the dashboard (sent by an owner's or a dashboard key) does not count until it is proven: a one-time code is texted to that number, and he is on staff.list only once that phone has called the line and keyed it, within 600 seconds; until then the answer is staff: null with phone_pending (the number, and the seconds) for a number that has no place yet, and an entry not proven in time is gone by itself. A phone already a worker, another account's person, or an arm manager of this account is refused at once (phone_registered): nothing is created, no text is sent, and the answer names no other account. An account whose typed phones (here and in staff.update) had 10 codes in the last 24 hours that were never keyed is refused the next (too_many_unproven_codes) and nothing is texted. On a call to the voice assistant the phone the owner says is the person's at once. On Enterprise he is an arm of the organization: there is no limit on arms, a phone is needed, and the arm gets a join code of its own for its workers.
Input
labelstringrequiredA name you will recognise
maxLength: 120phonestringoptionalTheir phone number: it is how they are recognised when they call
pattern: "^\\+[1-9]\\d{6,14}$"genderstringoptionalPicks the voice that speaks their words
"male""female"languagestringoptionalTheir own language on the call: he, en, ru, ar or fr. Required on a Family account (family_needs_language)
"he""en""ru""ar""fr"
staff.list
- Minimum role
- agent
- Helper key
- yes
Managers on the employer side of this account. is_owner marks the owner's own row, the one with the phone that signed the account up, and no other. key is what a worker presses to ring this manager on the other-phone number: "1" to "9" for the first nine with a phone, "10" to "20" for the tenth to the twentieth (after a first key of 1 or 2 the line waits a moment for a second digit); null for a manager with no phone. On Enterprise a worker rings his own arm with no menu. On Enterprise each is an arm: its join code, its allocations, the minutes its list used this month and how many workers with a phone are in it. cap_hard says whether the arm's allocation is hard (calls are cut at it) or soft (false, the default: past it the calls go on while the organization has minutes); cap_left_minutes is the allocation less what was used, below zero when a soft one is over.
Input
idstringoptionalOne person of this account by his id: his row only (none for an id not of this account)
maxLength: 64limitintegeroptionalHow many to return (default 50, max 200)
default: 50minimum: 1maximum: 200cursorstringoptionalOpaque cursor from a previous page
staff.update
- Minimum role
- agent
- Helper key
- yes
Change a manager on the employer side: the name he is rung by, the gender that picks the voice speaking his words, his own language (the owner's is the one every email to him is written in), or his phone (not the owner's own; a new phone hears the recording notice on its first call). A new phone typed on the dashboard (sent by an owner's or a dashboard key) does not count until it is proven: a one-time code is texted to that number, and it is his only once that phone has called the line and keyed it, within 600 seconds; until then he keeps the phone he had, and the answer carries phone_pending (the number, and the seconds) for a number that has no place yet. A phone already a worker, another account's person, or an arm manager of this account is refused at once (phone_registered): nothing is changed, no text is sent, and the answer names no other account. On a call to the voice assistant the phone the owner says is his at once. Send only what changes. On Enterprise also the arm's allocations: cap_minutes is the minutes a month its whole list may use (the arm's own calls and its workers'); workers_in_person opens or closes its workers' own use of the in-person number; workers_in_person_cap_minutes is how many minutes a month each of them may use on his own. null removes an allocation, or goes back to following the account. cap_hard makes the arm's allocation hard (true: at the allocation the arm's own calls and its workers' own use are refused until next month, and a call in progress is ended after the five-minute notice) or soft (false, the default: the calls go on while the organization has minutes, the arm shows as over, and every minute is recorded under it). No allocation ever refuses a worker ringing his own arm. On Enterprise also call_max_minutes: the longest a call of this arm may run, its own calls and its workers'; null follows the organization's (setting.set), and with none set a call is at most 30 minutes. It is set to 120 minutes or fewer (more is refused call_length_max).
Input
staff_idstringrequiredStaff id
maxLength: 64labelstringoptionalA name you will recognise
maxLength: 120genderstringoptionalPicks the voice that speaks their words
"male""female"phonestringoptionalTheir phone number: it is how they are recognised when they call
pattern: "^\\+[1-9]\\d{6,14}$"languagestringoptionalTheir own language
"he""en""ru""ar""fr"cap_minutesnumberoptionalEnterprise only: the arm's monthly allocation, whole minutes for its whole list; null removes it
cap_hardbooleanoptionalEnterprise only: true makes this arm's allocation hard (cut at it); false makes it soft
workers_in_personbooleanoptionalEnterprise only: may the arm's workers use the in-person number on their own; null follows the account
workers_in_person_cap_minutesnumberoptionalEnterprise only: whole minutes a month each of the arm's workers may use on his own; null removes it
call_max_minutesintegeroptionalEnterprise only: the longest a call of this arm may run, in whole minutes; null follows the organization's
minimum: 1
staff.revoke
- Minimum role
- agent
- Helper key
- yes
Stop someone on the employer side from using the line. Never the owner's own row (is_owner on staff.list): refused, by every key. On Enterprise refused while workers with a phone are in the arm's list: move them to another arm first. Asked again of a manager already removed it changes nothing: he stays removed since the first time.
Input
staff_idstringrequiredStaff id
maxLength: 64
arm5
arm.view
- Minimum role
- agent
- Helper key
- yes
Enterprise account: one arm, its monthly allocation and minutes used, and its current workers with the minutes each used under this arm this month. A moved worker is on its current arm; past calls stay with the arm recorded when each call began.
Input
staff_idstringrequiredArm from staff.list
maxLength: 64
arm.calls
- Minimum role
- agent
- Helper key
- yes
Enterprise account: calls counted under one arm, newest first, including calls by workers later moved away, and of an arm since removed. used_minutes is the minutes spent on each call. No prices or payment details.
Input
staff_idstringrequiredArm from staff.list
maxLength: 64limitintegeroptionalHow many to return (default 50, max 200)
default: 50minimum: 1maximum: 200cursorstringoptionalOpaque cursor from a previous page
arm.manager.list
- Minimum role
- owner
- Helper key
- no
Owner only: one arm's managers, so the owner's screen can say who is in. managers are the phones that have called the line and keyed the code: each row is id, staff_id, e164, added_at, state confirmed, and confirmed_at (ms, the time that phone keyed the code). pending are phones sent a code that have not yet called and keyed it, and whose code has not run out: each row is e164, sent_at (ms, when the code was texted), expires_at (ms), and state waiting_proof. A phone confirmed, replaced or past its time is not in pending. arm_not_found for no such active arm.
Input
staff_idstringrequiredArm id
maxLength: 64
arm.manager.add
- Minimum role
- owner
- Helper key
- no
Owner only: text a code to a proposed arm manager. The manager is added only after calling the line from that phone and keying its code. A phone already a worker, another account's manager, or an arm manager of this account is refused at once (phone_registered): nothing is created, no text is sent, and the answer names no other account.
Input
staff_idstringrequiredArm id
maxLength: 64phonestringrequiredIsraeli phone in +972 format
maxLength: 20
arm.manager.remove
- Minimum role
- owner
- Helper key
- no
Owner only: remove one manager from one arm and end every dashboard session at once.
Input
staff_idstringrequiredArm id
maxLength: 64manager_idstringrequiredManager id
maxLength: 64
phone1
phone.pending.list
- Minimum role
- owner
- Helper key
- no
Owner only: who still waits to confirm on this account: typed staff phones and arm-manager invitations whose code was texted and not yet keyed, each with kind (staff or arm_manager), label (the manager or the arm), phone_masked (the last four digits only) and expires_at (ms). A reload of the dashboard keeps these rows; one confirmed, replaced or past its time is gone. This account's entries only.
Input
No input fields.
balance1
balance.get
- Minimum role
- agent
- Helper key
- yes
Minutes remaining this period, and what has been used.
Input
No input fields.
ledger1
ledger.list
- Minimum role
- agent
- Helper key
- yes
Every minute that moved, newest first. This is what answers "why is my bill this?". note is always null: the service's own bookkeeping text is not sent. note_code says what a row is, as a fixed code or null: plan_month, plan_change, load, money_returned, fault_minute ("a fault in communication: one minute not charged"), a row of 0 minutes for each such minute, with its call's call_id.
Input
limitintegeroptionalHow many to return (default 50, max 200)
default: 50minimum: 1maximum: 200cursorstringoptionalOpaque cursor from a previous page
alert2
alert.list
- Minimum role
- agent
- Helper key
- yes
Open alerts: caller_refused (a known phone was turned away, with the reason) and seats_full (a right code, but no seat left on the plan). detail carries only what is the customer's to read; on the service's own housekeeping it is null.
Input
open_onlybooleanoptionalOnly unresolved alerts
default: truelimitintegeroptionalHow many to return (default 50, max 200)
default: 50minimum: 1maximum: 200cursorstringoptionalOpaque cursor from a previous page
alert.resolve
- Minimum role
- agent
- Helper key
- yes
Mark an alert as dealt with.
Input
alert_idintegerrequiredAlert id
setting2
setting.list
- Minimum role
- agent
- Helper key
- yes
Per-account overrides currently in force.
Input
No input fields.
setting.set
- Minimum role
- agent
- Helper key
- yes
Set a switch of this account. manager_seats: a whole number, only on a plan where code.get gives managers.raisable_to, from managers.min up to it, and never under managers.used (the managers seated now). On Enterprise worker_in_person is off until opened, and an arm or a worker may be set apart from it. worker_in_person: false stops workers using the in-person number on their own (on by default; they spend this account's minutes). call_accept_staff: false connects the owner or a foreman the moment they answer a worker's call, without pressing 1 (on by default). call_accept_worker: true makes a worker rung by the employer press 1 first (off by default: a worker just answers). With accept off, a voicemail can be interpreted and charged. call_max_minutes, on Enterprise only: the longest a call of the organization may run, a whole number of minutes, 120 or fewer (more is refused call_length_max; with none set a call is at most 30 minutes); an arm may be set apart from it (staff.update).
Input
keystringrequiredSetting name
"worker_in_person""call_accept_staff""call_accept_worker""manager_seats""call_max_minutes"valuestringrequiredtrue or false; for manager_seats and call_max_minutes a whole number
maxLength: 500
token4
token.list
- Minimum role
- owner
- Helper key
- owner may enable
API tokens on this account. Token values are never shown again. may is what the owner switched on for a helper key (token.update), empty on every other key.
Input
No input fields.
token.issue
- Minimum role
- owner
- Helper key
- no
Create a token. role=agent makes a helper key. may switches on for it, at once, any of the three things a helper key does only when the owner said so for that key: audit.list (read the change log), token.list (list the keys), code.rotate (replace the join code). Left out, none.
Input
labelstringrequiredWhat this token is for
maxLength: 80rolestringoptionalowner manages the account; agent is a helper key: it reads, and does the day-to-day work (workers, people, languages, settings, alerts), cannot mint tokens or change the join code, and makes no money decision (the plan and its renewal, the card, a payment page, who the invoices are made out to: refused
helper_no_money); neither can add minutes"owner""agent"default: "agent"maystring[]optionalFor a helper key (role agent) only: which of the three it may do
"audit.list""token.list""code.rotate"test_modebooleanoptionalPractice key: marked stand-in answers only; requires customer test mode to be on
token.update
- Minimum role
- owner
- Helper key
- no
Set what a helper key may do past its day-to-day work: may is the whole list from now on, of audit.list (read the change log), token.list (list the keys) and code.rotate (replace the join code); an empty list switches all three off. Nothing else can be switched on for a key: no money decision, and no key is made, changed or revoked by a helper key. Only for a live helper key (role agent) of this account that the owner made: an owner's key, a revoked key and the voice assistant's key on a call are answered as no key at all.
Input
token_idstringrequiredToken id
maxLength: 64maystring[]requiredWhich of the three this key may do from now on; [] for none
"audit.list""token.list""code.rotate"
token.revoke
- Minimum role
- owner
- Helper key
- no
Revoke a token immediately.
Input
token_idstringrequiredToken id
maxLength: 64
owner2
owner.contact.change.start
- Minimum role
- owner
- Helper key
- no
Start changing the phone number or the email the owner signs in with: send one of the two, the new value. A one-time code goes to the OLD one (the phone or the email the account has now), and the answer is the same whatever the new value is: nothing is said of a number or an address until the old side is proven. The change is made only when both codes were given back with owner.contact.change.confirm, within 600 seconds of this answer. On Enterprise the person who signs for the organization is identified again first, on the secure identification page (billing.join.link gives its address): until that has passed this is refused and no code is sent. Refused on a frozen account. Never type a code for a customer.
Input
phonestringoptionalThe new sign-in phone number
pattern: "^\\+[1-9]\\d{6,14}$"emailstringoptionalThe new sign-in email
maxLength: 200
owner.contact.change.confirm
- Minimum role
- owner
- Helper key
- no
Give back a code of a change started with owner.contact.change.start. The first right code proves the old phone or email: the answer is step: "new", and a second code has gone to the NEW one (refused here, and the change ended, when the new value already belongs to an account). The second right code proves the new one, and only then is the value changed: the answer is changed ("phone" or "email"). Both within 600 seconds of the start; five wrong tries end a code. With the change every key of the account is revoked, this one too: it is the last answer the key gets, and the owner signs in again with the new value. A notice of the change goes to the old value and to the new. Refused on a frozen account, as the start is: nothing is changed.
Input
change_idstringrequiredThe change, from owner.contact.change.start
maxLength: 64codestringrequiredThe six digits, as the owner typed them
maxLength: 12
audit1
audit.list
- Minimum role
- owner
- Helper key
- owner may enable
Who changed what, and when. Includes everything an agent did. actor is a key (token:…), a phone (phone:…), a sign-up or a sign-in, or system for everything the service did by itself. before and after carry the values that changed, never the service's own notes.
Input
limitintegeroptionalHow many to return (default 50, max 200)
default: 50minimum: 1maximum: 200cursorstringoptionalOpaque cursor from a previous page