rectangle-terminalAPI Reference

You can use our secure REST API to import your customer data, send review requests, export your reviews, and more!

Authentication

Your project has a secret API key that you can use to authenticate your requests. You can find your project’s API key, herearrow-up-right.

Add your API key to the Authorization header of each request. For example:

"Authorization": "Bearer <API_KEY>"

Endpoints

Customers

chevron-rightPOST Create or update a customerhashtag

POST https://api.moregoodreviews.com/beacon/customers

Creates a new customer or updates an existing one.

Body

Name
Type
Description

first_name*

string

The customer's first name.

last_name

string

The customer's last name.

email

string

The customer's email address.

phone

string

The customer's phone number.

company

string

The customer's company name.

signed_up_at

date

The date the customer signed up to your service.

has_subscription

boolean

Whether or not the customer is subscribed to your service.

location_slug

string

The slug of a locationarrow-up-right.

notes

string

Notes for internal use only.

tags

array

An array of customer tagarrow-up-right slugs to apply to the customer.

address1

string

The customer's address line 1.

address2

string

The customer's address line 2.

city

string

The customer's city or town.

state

string

The customer's state or region.

postal_code

string

The customer's postal code.

chevron-rightPOST Create a customer chargehashtag

POST https://api.moregoodreviews.com/beacon/charges

Records a charge for the customer. You must first create the customer before adding charges.

Body

Name
Type
Description

email

string, required without phone.

The customer's email address.

phone

string, required without email.

The customer's phone number.

amount

integer

Amount of charge in lowest currency denomination.

currency

string

The 3-letter currency code.

location_slug

string

The slug of a locationarrow-up-right. If provided, the default location for the customer will be changed to this one.

charged_at

date

The date the customer was charged.

chevron-rightGET Get customershashtag

GET https://api.moregoodreviews.com/beacon/customers

Gets all customers for a project.

chevron-rightGET Get customer reviewshashtag

GET https://api.moregoodreviews.com/beacon/customers/:id/reviews

Gets all reviews the customer submitted.

chevron-rightGET Get customer messageshashtag

GET https://api.moregoodreviews.com/beacon/customers/:id/messages

Gets all messages sent to a customer.

Reviews

chevron-rightPOST Create a review requesthashtag

POST https://api.moregoodreviews.com/beacon/asks

Schedules a review request for the customer.

Body

Name
Type
Description

email

string, required without phone.

The customer's email address

phone

string, required without email.

The customer's phone number

channels

array

Include "email", "sms", or both channels.

reminders_count

integer

0 - 3 reminders.

asked_at

date

The date to schedule the request. If null, it will send immediately.

chevron-rightGET Get reviewshashtag

GET https://api.moregoodreviews.com/beacon/reviews/

Gets all reviews for a project.

Locations

chevron-rightPOST Create a locationhashtag

POST https://api.moregoodreviews.com/beacon/locations

Creates a location for a project.

Body

Name
Type
Description

name*

string

The name of the location.

display_name

string

The customer-facing name for the location. Falls back to name.

slug

string

The slug for the location. Generated if left out.

code

string

An optional store code.

address1

string

Address line 1.

address2

string

Address line 2.

city

string

The city or town.

state

string

The state or region.

postal_code

string

The postal code.

chevron-rightPUT Update a locationhashtag

PUT https://api.moregoodreviews.com/beacon/locations/:id

Updates a location.

Body

Name
Type
Description

name

string

The name of the location.

display_name

string

The customer-facing name for the location. Falls back to name.

slug

string

The slug for the location. Generated if left out.

code

string

An optional store code.

address1

string

Address line 1.

address2

string

Address line 2.

city

string

The city or town.

state

string

The state or region.

postal_code

string

The postal code.

Pagination

For requests that require pagination, a pagination key is added to the response. This key might look something like the following:

Last updated

Was this helpful?