API Version 1

Base URL

https://reviewcraze.com/api

Authentication

The ReviewCraze API uses API key authentication for public endpoints. Include your API key in the request header:

x-api-key: YOUR_API_KEY

Getting Your API Key

  1. Log in to your ReviewCraze account

  2. Navigate to Profile Settings

  3. Click "Generate API Key" or "Regenerate API Key"

  4. Copy and securely store your API key

Response Format

All API responses follow a consistent JSON structure:

Success Response

Error Response

Endpoints

1

Get Locations

Retrieve all locations associated with your account.

Endpoint: GET /public/v1/locations

Authentication: Required (API Key)

Response:

Example Request:

2

Get Customers

Retrieve a paginated list of customers with optional filtering.

Endpoint: GET /public/v1/customers

Authentication: Required (API Key)

Query Parameters:

Parameter
Type
Required
Default
Description

locationId

number

Yes

-

The location ID to filter customers

page

number

No

1

Page number for pagination

limit

number

No

10

Number of results per page

search

string

No

-

Search term for customer name or email

marketingConsent

boolean

No

-

Filter by marketing consent status

Response:

Example Request:

3

Get Reviews

Retrieve a paginated list of reviews with optional filtering.

Endpoint: GET /public/v1/reviews

Authentication: Required (API Key)

Query Parameters:

Parameter
Type
Required
Default
Description

locationId

number

Yes

-

The location ID to filter reviews

page

number

No

1

Page number for pagination

limit

number

No

10

Number of results per page

Response:

Example Request:

4

Get Statistics

Retrieve comprehensive statistics for your locations.

Endpoint: GET /public/v1/stats

Authentication: Required (API Key)

Query Parameters:

Parameter
Type
Required
Default
Description

locationId

number

No

-

Filter stats by specific location (omit for all locations)

Response:

Example Request:

Data Models

Location Object

Customer Object

Review Object

Stats Object

Error Codes

Status Code
Description

200

Success

400

Bad Request - Invalid parameters

401

Unauthorized - Invalid or missing API key

403

Forbidden - Access denied

404

Not Found - Resource doesn't exist

429

Too Many Requests - Rate limit exceeded

500

Internal Server Error

Best Practices

1

Security

  • Never expose your API key in client-side code

  • Rotate your API keys periodically

  • Use environment variables to store API keys

2

Performance

  • Use pagination for large datasets

  • Cache responses when appropriate

  • Implement exponential backoff for retries

  • Monitor your API usage

3

Error Handling

Always implement proper error handling in your integration:

4

Pagination

When working with paginated endpoints, iterate through all pages:

Support

For API support, please contact:

Changelog

Version 1.0.0 (Current)

  • Initial public API release

  • Support for locations, customers, reviews, and stats endpoints

  • API key authentication

  • Pagination support

FAQ

How do I get started with the API?
  1. Sign up for a ReviewCraze account

  2. Generate your API key from Profile Settings

  3. Make your first API call using the examples above

  4. Review the documentation for available endpoints

Can I test the API before implementing?

Yes, use tools like Postman, Insomnia, or cURL to test API endpoints before implementing in your application.

How do I handle pagination?

Use the page and limit query parameters. The response includes pagination metadata showing total pages and records.

What data formats are supported?

The API returns JSON format only.

How do I report bugs or request features?

Contact our support team at [email protected] or submit a ticket through your dashboard.

Last Updated: December 21, 2025

Last updated