Appearance
Installation
Get started with the Repliz API by setting up your development environment.
Prerequisites
Before integrating with the Repliz API, make sure you have:
- An active Repliz account (Sign up here)
- A subscription plan that matches what you need:
- Standard+: Account & Comment APIs
- Premium+: Schedule & Addon APIs
- Gold+: Chat, Content, and OAuth Account Connect APIs
- A REST API client like Postman, Insomnia, or
cURL
Getting Your API Credentials
- Log in to your Repliz dashboard at https://repliz.com
- Go to Settings → Public API
- Generate a new API key pair (Access Key and Secret Key)
- Store your credentials somewhere safe. You'll need them for Basic Authentication on every request
WARNING
Never put your API credentials in client-side code or public repositories. Keep them server-side.
Base URL
Send all API requests to this base URL:
https://api.repliz.comAuthentication
The Repliz API uses Basic Authentication. Your credentials need to be Base64-encoded and sent in the Authorization header with every request.
Format:
Authorization: Basic Base64(AccessKey:SecretKey)How to encode your credentials:
bash
echo -n "YOUR_ACCESS_KEY:YOUR_SECRET_KEY" | base64bash
curl -X GET "https://api.repliz.com/public/account?page=1&limit=20" \
-H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)"javascript
import axios from 'axios';
const response = await axios.get('https://api.repliz.com/public/account', {
params: { page: 1, limit: 20 },
auth: {
username: 'YOUR_ACCESS_KEY',
password: 'YOUR_SECRET_KEY',
},
});
console.log(response.data);javascript
const credentials = btoa('YOUR_ACCESS_KEY:YOUR_SECRET_KEY');
const response = await fetch(
'https://api.repliz.com/public/account?page=1&limit=20',
{
headers: {
Authorization: `Basic ${credentials}`,
},
},
);
const data = await response.json();
console.log(data);TIP
Axios handles Base64 encoding automatically when you use the auth option. For cURL and Fetch, you'll need to encode your credentials manually.
SDK & Libraries
Repliz provides a REST API that you can call from any HTTP client in your preferred language:
| Language | Recommended Library |
|---|---|
| JavaScript / Node.js | axios, fetch, node-fetch |
| Python | requests, httpx |
| PHP | Guzzle, cURL |
| Go | net/http |
| Ruby | httparty, faraday |
Next Steps
Once your credentials are ready, head over to the Quick Start guide to make your first API call.
