Behavior
Returns ready-made inbox sources for the caller, best first, ranked from the caller's recent calls and texts. This endpoint takes no user_id: suggestions are always the caller's.
Each suggestion carries a source. Put it in the sources of Create inbox as it is:
- A suggestion with
branch: nullcovers the whole line, and itssourcehas emptyconditions. - A suggestion with a
branchcovers one phone-menu path, and itssourceholds aMENU_BRANCHcondition for that path.
To put several suggestions of the same line in one inbox, merge them into one source: concatenate the branches of their MENU_BRANCH conditions.
name and description are suggested labels for menu branches. A whole-line suggestion (branch: null) always has name and description set to null, and they can also be null for a branch when no label could be generated.