Skip to main content

Getting Started

Get started whit EveryLog in 2 minutes.

Step 1: Sign up

Sign up to EveryLog with your email.

Step 2: Get the API Key

Once you've confirmed your email, you can access to EveryLog and get your personal API Key.

You will need it to make API calls from your application.

Step 3: Download the mobile app

Download the mobile app from Google and Apple stores and sign in with your EveryLog account.

Google PlayApp Store

Step 4: Add a post in your code

Add a POST to the EveryLog API in your code, and you're ready!

You should receive you first notification on your app.

Sample code for post

javascript example
import axios from 'axios';

const headers = { 'Authorization': `Bearer ${API_KEY}` }
const data = {
projectId: "project-name",
title: "New subscription",
summary: "A new user has subscribed to base plan",
body: "foo@bar.com just subscribed to plan XYZ",
tags: ["new subscriber"],
groups: ["first-group", "second-group"],
externalChannels: ["channel-code", "other-channel-code"],
properties: {key: "value", key2: "value2"},
icon: "🤪",
link: "https://www.example.com",
push: true
}

axios.post(EVERYLOG_URL, data, { headers: headers });
ruby example
require 'rest-client'
require 'json'
api_key = 'XYZ'
everylog_url = "..."
body = {
projectId: "project-name",
title: "New subscription",
summary: "A new user has subscribed to base plan",
body: "foo@bar.com just subscribed to plan XYZ",
tags: ["new subscriber"],
groups: ["first-group", "second-group"],
externalChannels: ["channel-code", "other-channel-code"],
properties: { key1: value1, key2: value2},
icon: "🤪",
link: "https://www.example.com",
push: true
}

RestClient.post(everylog_url,
body.to_json,
{Authorization: "Bearer #{api_key}",
content_type: :json})
python example
import requests

api_key = 'XYZ'
API_ENDPOINT = "..."
headers = {"Authorization": "Bearer %s" % api_key}
body = {
"projectId": "project-name",
"title": "New subscription",
"summary": "A new user has subscribed to base plan",
"body": "foo@bar.com just subscribed to plan XYZ",
"tags": ["new subscriber"],
"groups": ["first-group", "second-group"],
"externalChannels": ["channel-code", "other-channel-code"],
"properties": {"key": "value", "key2": "value"},
"icon": "🤪",
"link": "https://www.example.com",
"push": False
}

r = requests.post(url=API_ENDPOINT, json=body, headers=headers)
curl example
curl --request POST \
--url EVERYLOG_URL \
--header 'Authorization: Bearer XXX-YYY-ZZZ' \
--header 'Content-Type: application/json' \
--data '{"projectId":"project-name", \
"title":"New subscription", \
"summary":"A new user has subscribed to base plan", \
"body": "foo@bar.com just subscribed to plan XYZ", \
"tags":["new subscriber"], \
"groups": ["first-group", "second-group"], \
"externalChannels": ["channel-code", "other-channel-code"], \
"properties": {"key": "value", "key2": "value2"}, \
"icon": "🤪", \
"link": "https://www.example.com", \
"push": true}'