Easily integrate a Social API to your website, ecommerce site or mobile application
With Potion's APIs, easily implement community experiences in your customer journey. Increase customer engagement by adding a complete and customizable gamification to your site, integrate events, comments, interactions, and more. Community features at your fingertips.
« Thanks to Potion Social, we have been able to rely on a product that drives the gamification and community approach, while optimizing development costs. »
« At Phoceis by INEAT, we are used to not reinventing the wheel when we develop new projects. Potion Social API integration allowed us to save time and to perfectly respect the timing of the project. »
Create custom events and manage them without writing a single line of code. Quickly, easily and securely create a token to get up and running with powerful endpoints. See API usage at a glance. No long setup or forms - we let you focus on the important stuff instead.
Learn morePotion brings it all together: define simple or complex missions for users to achieve. Engage your audience, incentivize user actions, motivate and build loyalty with ease. Reward user actions with points and badges across multiple web apps and sites.
Learn moreBring content to life and enable conversations that make a difference with an API-based activity feed. Engage in discussions with your customers, superfans and team members. Federate a community of active members by offering dedicated communication space.
Learn morevar request = require("request");
// Easily fetch your last statuses from your platform
// translation missing: en.home.code.url
const NETWORK_URL = "https://apitest.potion.social/api-public/v1/statuses";
// translation missing: en.home.code.api_key
const API_KEY = "P92OYRHFPOUGN2PUH2O8GH";
// translation missing: en.home.code.api_secret
const API_SECRET = "08Ü2OTIHGMI2GBFZM-OP38FYHPO2ONUF2PNPM";
const options = {
method: "GET",
url: NETWORK_URL,
json: true,
headers: {
"Api-Key": API_KEY,
"Api-Secret": API_SECRET,
"Content-Type": "application/json",
},
};
request(options, function(error, response) {
if (error) throw new Error(error);
console.log(body);
});
require "httparty"
# Easily fetch your last statuses from your platform
# translation missing: en.home.code.url
NETWORK_URL = "https://apitest.potion.social/api-public/v1/statuses"
# translation missing: en.home.code.api_key
API_KEY = "P92OYRHFPOUGN2PUH2O8GH"
# translation missing: en.home.code.api_secret
API_SECRET = "08Ü2OTIHGMI2GBFZM-OP38FYHPO2ONUF2PNPM"
headers = {
"Api-Key": API_KEY,
"Api-Secret": API_SECRET,
"Content-Type": "application/json",
}
response = HTTParty.get(NETWORK_URL, headers: headers)
puts response.body
import requests
# Easily fetch your last statuses from your platform
# translation missing: en.home.code.url
NETWORK_URL = "https://apitest.potion.social/api-public/v1/statuses"
# translation missing: en.home.code.api_key
API_KEY = "P92OYRHFPOUGN2PUH2O8GH"
# translation missing: en.home.code.api_secret
API_SECRET = "08Ü2OTIHGMI2GBFZM-OP38FYHPO2ONUF2PNPM"
headers = {
"Api-Key": API_KEY,
"Api-Secret": API_SECRET,
"Content-Type": "application/json",
}
response = requests.get(NETWORK_URL, headers=headers)
json_response = response.json()
# Easily fetch your last statuses from your platform
# translation missing: en.home.code.url
NETWORK_URL = "https://apitest.potion.social/api-public/v1/statuses"
# translation missing: en.home.code.api_key
API_KEY = "P92OYRHFPOUGN2PUH2O8GH"
# translation missing: en.home.code.api_secret
API_SECRET = "08Ü2OTIHGMI2GBFZM-OP38FYHPO2ONUF2PNPM"
curl -X GET \
"$NETWORK_URL" \
-H "Api-Key: $API_KEY" \
-H "Api-Secret: $API_SECRET" \
-H "Content-Type: application/json" \
// Easily fetch your last statuses from your platform
// translation missing: en.home.code.url
$_NETWORK_URL = "https://apitest.potion.social/api-public/v1/statuses"
// translation missing: en.home.code.api_key
$_API_KEY = "P92OYRHFPOUGN2PUH2O8GH"
// translation missing: en.home.code.api_secret
$_API_SECRET = "08Ü2OTIHGMI2GBFZM-OP38FYHPO2ONUF2PNPM"
$request = new HttpRequest();
$request->setUrl($_NETWORK_URL);
$request->setMethod(HTTP_METH_GET);
$request->setHeaders(array(
"Api-Key" => $_API_KEY,
"Api-Secret" => $_API_SECRET,
"Content-Type" => "application/json",
));
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
var request = require("request");
// Easily create an event in a few lines
// translation missing: en.home.code.url
const NETWORK_URL = "https://apitest.potion.social/api-public/v1/events";
// translation missing: en.home.code.api_key
const API_KEY = "P92OYRHFPOUGN2PUH2O8GH";
// translation missing: en.home.code.api_secret
const API_SECRET = "08Ü2OTIHGMI2GBFZM-OP38FYHPO2ONUF2PNPM";
const options = {
method: "POST",
url: NETWORK_URL,
json: true,
headers: {
"Api-Key": API_KEY,
"Api-Secret": API_SECRET,
"Content-Type": "application/json",
},
body: {
"name": "My first event",
"owner_type": "User",
"owner_id": "MY_UNIQUE_USER_ID",
"start_date": "2020-01-01T11:00:00.000Z",
"end_date": "2020-01-31T11:00:00.000Z"
}
};
request(options, function(error, response) {
if (error) throw new Error(error);
console.log(body);
});
require "httparty"
# Easily create an event in a few lines
# translation missing: en.home.code.url
NETWORK_URL = "https://apitest.potion.social/api-public/v1/events"
# translation missing: en.home.code.api_key
API_KEY = "P92OYRHFPOUGN2PUH2O8GH"
# translation missing: en.home.code.api_secret
API_SECRET = "08Ü2OTIHGMI2GBFZM-OP38FYHPO2ONUF2PNPM"
headers = {
"Api-Key": API_KEY,
"Api-Secret": API_SECRET,
"Content-Type": "application/json",
}
body = {
"name": "My first event",
"owner_type": "User",
"owner_id": "MY_UNIQUE_USER_ID",
"start_date": "2020-01-01T11:00:00.000Z",
"end_date": "2020-01-31T11:00:00.000Z"
}
response = HTTParty.post(NETWORK_URL, headers: headers, body: body)
puts response.body
import requests
# Easily create an event in a few lines
# translation missing: en.home.code.url
NETWORK_URL = "https://apitest.potion.social/api-public/v1/events"
# translation missing: en.home.code.api_key
API_KEY = "P92OYRHFPOUGN2PUH2O8GH"
# translation missing: en.home.code.api_secret
API_SECRET = "08Ü2OTIHGMI2GBFZM-OP38FYHPO2ONUF2PNPM"
headers = {
"Api-Key": API_KEY,
"Api-Secret": API_SECRET,
"Content-Type": "application/json",
}
data = {
"name": "My first event",
"owner_type": "User",
"owner_id": "MY_UNIQUE_USER_ID",
"start_date": "2020-01-01T11:00:00.000Z",
"end_date": "2020-01-31T11:00:00.000Z"
}
response = requests.post(NETWORK_URL, headers=headers, data=data)
json_response = response.json()
# Easily create an event in a few lines
# translation missing: en.home.code.url
NETWORK_URL = "https://apitest.potion.social/api-public/v1/events"
# translation missing: en.home.code.api_key
API_KEY = "P92OYRHFPOUGN2PUH2O8GH"
# translation missing: en.home.code.api_secret
API_SECRET = "08Ü2OTIHGMI2GBFZM-OP38FYHPO2ONUF2PNPM"
curl -X POST \
"$NETWORK_URL" \
-H "Api-Key: $API_KEY" \
-H "Api-Secret: $API_SECRET" \
-H "Content-Type: application/json" \
-d {
"name": "My first event",
"owner_type": "User",
"owner_id": "MY_UNIQUE_USER_ID",
"start_date": "2020-01-01T11:00:00.000Z",
"end_date": "2020-01-31T11:00:00.000Z"
}
// Easily create an event in a few lines
// translation missing: en.home.code.url
$_NETWORK_URL = "https://apitest.potion.social/api-public/v1/events"
// translation missing: en.home.code.api_key
$_API_KEY = "P92OYRHFPOUGN2PUH2O8GH"
// translation missing: en.home.code.api_secret
$_API_SECRET = "08Ü2OTIHGMI2GBFZM-OP38FYHPO2ONUF2PNPM"
$request = new HttpRequest();
$request->setUrl($_NETWORK_URL);
$request->setMethod(HTTP_METH_POST);
$request->setHeaders(array(
"Api-Key" => $_API_KEY,
"Api-Secret" => $_API_SECRET,
"Content-Type" => "application/json",
));
$request->setBody({
"name": "My first event",
"owner_type": "User",
"owner_id": "MY_UNIQUE_USER_ID",
"start_date": "2020-01-01T11:00:00.000Z",
"end_date": "2020-01-31T11:00:00.000Z"
});
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
We've cooked up a unique approach that delivers amazing results
Time saved thanks to the implementation of the Potion API
Savings made during the deployment of the application
Record development time for the deployment of the application
Update your browser in order to properly display this website. Update now