Scalar DevelopersScalar Developers
User Guide
API Reference
FAQs
User Guide
API Reference
FAQs
  • Getting started

    • API Quick Start
    • API Authentication
    • API Responses
    • API Pagination
    • API Rate Limiting
    • Webhooks API
  • Resources

    • Announcements API
    • Boards API
    • Customers API
    • Ideas API
    • Idea States API
    • Surveys API
    • Topics API

Customers

Customers are the end-users of your product. These endpoints allow you to list existing customers and sync new ones from your CRM or billing system.


List customers

GET /api/v1/customers/

Retrieve a paginated list of customers for your company.

Query parameters

ParameterTypeRequiredDefaultDescription
limitintegerNo20Results per page (max 100).
offsetintegerNo0Number of results to skip.

Example request

curl -sS \
  -H 'Authorization: Api-Key scalar*live*...' \
  'https://<your-host>/api/v1/customers/'

Success response (200 OK)

{
    "results": [
        {
            "id": 2001,
            "email": "[email protected]",
            "first_name": "Sam",
            "last_name": "Singh"
        }
    ],
    "count": 1
}

Upsert a customer

POST /api/v1/customers/

Create a new customer or update an existing one. If a user with the provided email already exists, they will be attached to your company with the CUSTOMER role.

Request body fields

FieldTypeRequiredDescription
emailstringYesValid email address for the customer.
first_namestringNoCustomer's first name.
last_namestringNoCustomer's last name.

Example request

curl -sS \
  -X POST \
  -H 'Authorization: Api-Key scalar*live*...' \
  -H 'Content-Type: application/json' \
  -d '{
    "email": "[email protected]",
    "first_name": "Sam",
    "last_name": "Singh"
  }' \
  'https://<your-host>/api/v1/customers/'

Success responses

  • 201 Created: A new user was created.
  • 200 OK: An existing user was updated or attached to your company.

Returns the Customer object.


Objects

Customer object

FieldTypeDescription
idintegerUnique internal ID.
emailstringCustomer's email address.
first_namestringCustomer's first name.
last_namestringCustomer's last name.
Last Updated: 19/02/2026, 05:48
Contributors: Tlotlego Mogapi
Prev
Boards API
Next
Ideas API