API Docs
Get your API Auth Token
Your API requests are authenticated using API keys. Any request that doesn't include an API key will return an error.
You can get your API Auth Token from your partner at Vouch or write to corp@vouch.social
Check the AuthToken
To make sure that your AuthToken is valid, you can use this API :
GET
api.vouch.social/api/corporate/check-auth
Options
Response
Good to know: If you believe you have inadvertently received a 401 error or you need any other information, please write to corp@vouch.social
SaveCustomers
Save your customers on Vouch who can help with lead conversion & share referral bonuses:
POST
api.vouch.social/api/corporate/save-customer
Request
customerId
string
Unique Identifier of the customer at your side
contactHashedPhone
string
The <hash> of the phoner number of the customer
Response
totalRecordsRecieved
int
Number of customers shared in the call
totalRecordsCreated
int
Number of records new created on Vouch
totalRecordsUpdated
int
Number of old records updated on Vouch. PS : CustomerID is updated, customerHashedPhone is unique at Vouch
totalRecordsSkipped
int
Number of records skipped which don't match the format
<hash>: Hashing transforms input data into a fixed-size string of characters using a hash function, ensuring data integrity and security. Hash is always to be done of the 10-digit Indian Phone Number with 91 at the start
Expected Format : 919076576578
Use Input : 9199999999 OutPut : 5a15bf8887c41bb21f3b33a5bf1a06064711a6495cbbd97ddb92995d5df8b1b5 Link : https://codebeautify.org/sha256-hash-generator
Check Lead
To check the connectivity of a lead, use this API :
POST
https://api.vouch.social/api/corporate/check-lead
Request
leadHashedPhone*
string
The <hash> of the lead which you want to check with Vouch
Response
name
string
If Customer is registered on Vouch, then we'll share the name
hashedPhone
string
hashedPhone of the customer who is related to the lead
strength
int
The strength of connection between the lead & the customer shared
Save Contacts
To upload the contactList of registered User, use this API :
POST
https://api.vouch.social/api/contacts/saveContacts
Request
hashedPhone*
string
The <hash> of the registered user whose contactList is being uploaded
contacts*
Array
The list of contacts of the registered user
displayName
string
The name of the contact as stored by the registered user in their contacts
phones
Array
The list of phoneNumbers (hashed) for the contact
hashedPhone
string
The <hash> of the contact
Response
totalRecordsRecieved
int
Total Contacts Received
totalRecordsCreated
int
Total Contacts Created New
totalRecordsUpdated
int
Total Contacts Updated for Name
totalRecordsSkipped
Total Contacts Skipped due to data mismatch or existing data
Last updated