Cloze URL Scheme and x-callback URLs

Cloze supports direct URLs to contacts so that you can quickly access information from another system. 

Here's the basic structure of the URLs:
 
 
"identifier" unique identifier for a person record (or company)
"full" shows the profile filling the entire page (best used for embedded page in an iframe)
"back" puts a back button on a full-screen profile which redirects the back back to the given url
 
   iOS: cloze://x-callback-url/contact/<identifier>[?x-success=<url>]
        cloze://contact/<identifier>
 
The first follows the x-callback-url standard. x-success acts like "back" on web URLs (shows the profile full-screen with a back button that redirects to the given URL - usually a link back into another app).
 
The second type of URL is a simplified form to just show a contact profile.
 
Example URLs (web)
 
Lookup profile by email:
  • https://www.cloze.com/in/#contact=someone@company.com
  • https://www.cloze.com/in/contact/someone@company.com

Lookup profile by phone number:
  • https://www.cloze.com/in/#contact=6175551234
  • https://www.cloze.com/in/contact/6175551234 

Lookup company profile by domain:
  • https://www.cloze.com/in/#contact=company.com

Lookup profile by twitter handle:
  • https://www.cloze.com/in/#contact=twitter%3Acloze
    (%3A is the URL encoding for : )
 
Lookup profile by 3rd party app ID:
  • https://www.cloze.com/in/#contact=lead.salesforce.com%3A9425897598 (%3A is the URL encoding for : )
 
Show the profile full-screen (e.g. to embed in an iframe):
  • https://www.cloze.com/in/#contact=someone@company.com,full
 
Add a back button to the full-screen profile:
  • https://www.cloze.com/in/#contact=someone@company.com,full,back=http%3A%2F%2Fwww.evernote.com
 
 
Example URLs (iOS)
 
Lookup profile by email:
 
Lookup company profile by domain:
  • cloze://x-callback-url/contact/company.com
  • cloze://contact/company.com
 
Lookup profile by twitter handle:
  • cloze://x-callback-url/contact/twitter%3Acloze
  • cloze://contact/twitter%3Acloze
    (%3A is the URL encoding for : )

 

Lookup profile by 3rd party app ID:
  • cloze://x-callback-url/contact/lead.salesforce.com%3A9425897598
  • cloze://contact/lead.salesforce.com%3A9425897598
    (%3A is the URL encoding for : )
 
Show the profile full-screen and add a back button:
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.