Applications-to-user secure emails and texts

Step 1. Create a Freemium account

Step 2a. Get auth token on your mac terminal
//Create Token
json=$(curl --location --request POST 'https://api.i2chain.com/auth/v2/login' \
--header 'Content-Type: application/json' \
--data-raw '{
    "email":"<your login email>",
    "password":"<your password>"
}')
jwtToken=$(echo $json | sed -e 's/[{}]/''/g' | sed s/"//g | awk -v RS=',' -F: '$3=="jwtToken"{print $4}')
Step 2b. Get auth token on your windows
//Create Token
curl --location --request POST 'https://api.i2chain.com/auth/v2/login' \
--header 'Content-Type: application/json' \
--data-raw '{
    "email":"<your login email>",
    "password":"<your password>"
}'
//extract value of token.idToken.jwtToken from Response object
//this value should be passed in subsequent calls as $jwtToken header variable
Step 3. Chain a file
  • Chain a message or file that will return a web URL link. The actual data (message or file) is in a secure location accessible only via this URL link.
  • The URL link has default permission for internal use. Please share internally using WhatsApp, text, email, or Slack. Recipients with the same domain will be able to access the underlying information.
//chain at rest enterprise-wide / Chain At Rest
curl --location --request POST 'https://api.i2chain.com/file/v3/chainandshare' 
--header "Authorization: $jwtToken" 
--form 'filename="<Your file name>"' 
--form 'file=@"<Your file path>"'
Step 4. Chain and share a message

The chaining process creates non-fungible traceable messages.

Share will use our email gateway for demo purposes.

//Option 1.a - Chain content and share via email
base64Content=$(echo 'sample demo content for i2chain' | base64)
curl --location --request POST 'https://api.i2chain.com/file/v3/chainandshare' \
--header "Authorization: $jwtToken" \
--header 'Content-Type: application/json' \
--data-raw '{
"content" : "'$base64Content'",
"filename" : "<your file>",
"recipients":"<recipient email>"
}'
Step 5. Chain and share file

The chaining process creates non-fungible traceable messages.

Share will use our email gateway for demo purposes.

// Option 1.b -Chain file and share via email
curl --location --request POST 'https://api.i2chain.com/file/v3/chainandshare' \
--header "Authorization: $jwtToken" \
--form 'recipients="<recipient email>"' \
--form 'filename="<your filename>"' \
--form 'file=@"/Users/<your filepath>"'
Non-fungible Certified documents

Chain Certificates and obtain lifetime Certificate weblink.

Optional traceable actions on the web link.

Please Contact Sales to register issuing authority: