Markdown Cheat Sheet

Headlines
# Headline 1
## Headline 2
### Headline 3

Styling
*italic*
**bold**
~~strike through~~

Links
http://url.com
[link text](http://www.url.com)

Quotes
> Quote text
***Johnny Author***

Images
![image alt text](image url)
***Image caption, description***

Horizontal rule
---

Inline Code
`var name = "John Doe";`

Code block with syntax highlighting
``` codelanguage
function foo() {
  return bar;
}
```

Bulleted list
- item 1
- item 2
- item 3

Numbered list
1. item 1
2. item 2
3. item 3

PRODUCT DEMO

Personalization API

Grow faster with Kriya AI API

by Ravi Vadrevu

This is a four-part series on 2x your growth with AI, where we share unique insights into unleashing the growth power of your business email.

Every visitor Kriya AI sends to you comes with a unique kriya_id to enrich the experience for them in real-time.

Personalized Kriya AI landing page
Personalized Greetings on your landing page using API visitor info

Personalized Kriya AI landing page
Pre-filled contact forms about the visitors to enabling faster sign-ups!

Kriya AI API V1 Documentation

Creating a GET Request:

To get the Kriya visitor information, you need to make a get request using HTTP authorization bearer token. We deliver the API key during the onboarding process to make these requests.

Below is a ruby code snippet on how to make a get request to Kriya API. You can use any legacy backend code to make GET requests in other languages.

uri = URI("https://kriya.ai/api/v1/profile/1")
http = Net::HTTP.new(uri.host, uri.port)

http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
req = Net::HTTP::Get.new(uri)
req.add_field("Authorization","Bearer #{your_api_key}")

Request the profile details by passing in the profile_id in the GET request
Remember to replace your_api_key with your actual secret_api_key

Note that your_api_key is passed in as a header and not as a parameter

Response:

The request is sent from the application to the kriya.ai server and the response is returned as JSON.


res = http.request(req)
profile = JSON(res.read_body)

Profile JSON response:


{
"first_name" : "Kashyap",
"last_name" : "Vadrevu",
"email" : "[email protected]",
"title" : "Tech Ops Executive",
"phone" : "xxx-xxx-xxxx",
"profile_link" : "linkedin_profile_link",
"location" : "San Francisco"
"geography" : {
:name=>"atlanta, georgia, united states", :locality=>"atlanta", :region=>"georgia", :subregion=>"fulton county",
:country=>"united states",
:continent=>"north america",
:type=>"locality",
:geo=>"33.74,-84.38",
:postal_code=>nil,
:zip_plus_4=>nil,
:street_address=>nil,
:address_line_2=>nil,
:most_recent=>false,
:is_primary=>true,
:last_updated=>nil
}
}

You can also schedule a demo with us to implement all the necessary steps for a successful email growth campaign that can run on autopilot.

We come to the end of this series and hope you find this useful. If you liked it, please feel free to give us a shout out on Twitter

📅 Learn more in a quick product demo