Encrypt the plain text

Description

To encrypt the given plain text using a specified encryption type.

OAuth Scope

encryptions.CREATE

Request headers:

  • content-type [Mandatory] - To specify the content type of the request payload. (Values: application/json)

Request payload:

  • type [Mandatory]  - To specify the encryption type to encrypt the given plain texts. (Values: siqidentifiers)
    Note: 
    • Smart identifiers in campaigns will include visitor's name and email in the identifier link which might lead to some privacy concerns.
    • Using the encryption type siqidentifiers you can generate encrypted values for the visitor's name and email and use them in the smart identifiers. SalesIQ will decrypt the values and identify the visitors automatically keeping your campaigns safe and secure. To know how SalesIQ uses Smart identifiers to identify visitors, check out our help guide here
  • values [Mandatory] - To specify the plain texts to be encrypted based on the type. 
    Note: A list of 20 elements can be given for encryption. Each element will be trimmed before encryption.

 

 

 

URL


				https://salesiq.zoho.com/api/v2/encryptions			

Request body sample


				{
  "type":"siqidentifiers",
  "values":["Patricia", "patricia@zylker.com"]
}			

Response body sample


				{
  "url":"/api/v2/encryptions",
  "object":"list",
  "data":[
    {
      "encrypted_value":"bc697cda523e167bb22e4c8153f36f533af9fae699532533a2",
      "value":"Patricia"
    },
    {
      "encrypted_value":"33ff6631d6cfbdede33d098e446800d55398bbd2c839c16acb",
      "value":"patricia@zylker.com"
    } 
  ]
}