Integration with other apps
Other apps can use the URL handler to send sentences to Cardhop.
x-cardhop://
x-cardhop://x-callback-url/
Parse
parse
x-cardhop://parse?s=call%20Mike
Opens the parser to search, add, edit and interact with contacts.
Parameters
s
string: text to parselist
string: name or identifier of the list to filter resultsadd
boolean:"Y", "y", "T", "t", or a digit 1-9
when a new contact that was parsed should be added immediately
Show
show
x-cardhop://show?contact=Mike%20Ross
Opens the app and shows a specific contact or goes to a specific view.
Parameters
id
string: identifier of a contact to showcontact
string: name or identifier of the contact to show (me
shows user's card)view
string: view to show or select in the app (favorites
,recents
,contacts
,birthdays
,settings
orcards
,lists
)
Additional Parameters
When showing a contact
action
string: identifier of an action to perform (valid actions containedit
call
,message
andmail
) or base64 encoded data of the serialized actionlist
string: identifier or name of the list the contact belongs to (used for filtering search results when there are multiple contacts with the same name)
When showing one of the main views in the app
list
string: name or identifier of the list to select (affects contacts and birthdays views)
Preferences
preferences
x-cardhop://preferences?path=notifications
Opens the app and shows the preferences.
Parameters
path
string: part of the preferences to show
Additional Parameters
Supported paths
help
: shows the help and contact informationabout
: shows credits and related appsnotifications
: shows settings for notificationsactions
: shows settings for quick actionscards
: shows settings for the business card