API Reference › Basics
Next steps
next is an ordered list. Do each step in turn. A step with when waits for that condition. Paths in call are on https://app.ported.io, and a {name} in them is for the agent to fill in.
do | Fields | Means |
|---|---|---|
call | call, body?, when?, why? | Make this request. |
tellPerson | say | Tell the person this, in your own words if you like, keeping any link whole. |
askPerson | question, unless? | Ask the person and act on their answer, unless unless already holds. |
endTurn | why | Stop and wait for the person. |
wait | until, checkWith? | Nothing to do until this happens. checkWith is the call that shows it. |
storeKey | why | Keep the key from this response in secret storage. |
saveSkill | skill, why | Save this as a skill or note, if you can. |
changeNameservers | where, nameservers, why? | At the registrar named in where, set the domain's nameservers to exactly these two, and remove any others. |
turnOffDnssec | where, why | Turn DNSSEC off for the domain at the registrar named in where, before its nameservers change. |
addRecords | where, records | Records path only. Add these DNS records at the DNS host named in where. A record with "optional": true may be left out. |
removeRecords | where, records, why | Records path only. Delete these records. A record without value means any value on that name and type, other than the records Ported.io asks for. |
changeRecord | where, from, to | Records path only. Change one record's value. |
For changeNameservers and turnOffDnssec, where is the registrar's name from registrar (§6). For the record steps it is the DNS host's name from dnsHost. It is null when Ported.io doesn't know the registrar or host: ask the person where the domain is managed.