Skip to content

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

  1. Log in to your Repliz dashboard at https://repliz.com
  2. Go to SettingsPublic API
  3. Generate a new API key pair (Access Key and Secret Key)
  4. 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.com

Authentication

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" | base64
bash
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:

LanguageRecommended Library
JavaScript / Node.jsaxios, fetch, node-fetch
Pythonrequests, httpx
PHPGuzzle, cURL
Gonet/http
Rubyhttparty, faraday

Next Steps

Once your credentials are ready, head over to the Quick Start guide to make your first API call.