The Sphere API enables authorized applications to read, search, and upload People and Transaction data for a Sphere account.
https://www.usesphere.comFor an existing machine-to-machine integration, create credentials under Settings > Account > API console: usesphere.com/admin/settings/api-console
OAuth 2.0 provides secure, token-based access to the Sphere API. Exchange your API key and passcode for an access token, then include that token with each API request.
| Name | Description |
|---|---|
| Authorizationrequired
string
|
Send the API key as the username and the API secret as the password using HTTP Basic Authentication. The resulting header uses the format:
Basic Authentication: Username: <API key>Password: <API secret>
|
| Code | Description |
|---|---|
| 200 | Returns an OAuth access token, token type, and expiration time. Use the access token as a Bearer token for protected API requests. |
{
"token_type": "Bearer",
"access_token": "<<ACCESS TOKEN>>",
"expires_in": 3600
}
| Name | Description |
|---|---|
| old_tokenrequired
string
|
Previously issued OAuth access token. This is a mandatory field. |
| Code | Description |
|---|---|
| 200 | Returns a new OAuth access token, token type, and expiration time. |
{
"token_type": "Bearer",
"access_token": "<<NEW ACCESS TOKEN>>",
"expires_in": 3600
}
JWT (JSON Web Token) provides a compact and secure way to verify authenticated API requests. Use the issued token in the authorization header when calling protected Sphere API endpoints.
| Name | Description |
|---|---|
| api_keyrequired
string
|
API key sent in the POST body. This is a mandatory field. |
| api_secretrequired
string
|
Passcode sent in the POST body. This is a mandatory field. |
| Code | Description |
|---|---|
| 200 | Returns the user ID and a JWT access token to be sent as a Bearer token with protected API requests. |
{
"user_id": "user id",
"token": "<<ACCESS TOKEN>>"
}
| Name | Description |
|---|---|
| old_tokenrequired
string
|
Previously issued JWT. This is a mandatory field. |
| secret_keyrequired
string
|
API passcode associated with the JWT owner. This is a mandatory field. |
| Code | Description |
|---|---|
| 200 | Returns a new access token on success. |
{
"status": true,
"code": 200,
"token": "<<NEW ACCESS TOKEN>>"
}
code value.{
"status": false,
"code": 401,
"error": "invalid_access_token",
"message": "The access token is invalid or expired."
}
| HTTP status | Error | Description |
|---|---|---|
| 400 | invalid_request / invalid_client |
The request is malformed, contains conflicting values, or uses invalid client credentials. |
| 401 | unauthorized / invalid_access_token |
Authentication is missing, invalid, or expired. |
| 403 | forbidden / insufficient_scope |
The authenticated caller cannot perform the operation or the token lacks the required scope. |
| 404 | not_found |
The requested visible record was not found. |
| 422 | validation_error |
One or more submitted fields failed validation. |
| 500 | internal_error |
An unexpected server error occurred. |
| Name | Description |
|---|---|
| mls_id string
|
Exact MLS ID. Maximum 100 characters. |
| status string
|
Exact Transaction status. Maximum 50 characters. |
| owner string
|
Owner name within the users available to the authenticated account. An ambiguous name returns a validation error. |
| customer string
|
Partial buyer or seller name. |
| address string
|
Partial property address. Maximum 255 characters. |
| closing_from date
|
Include closings on or after this date.Format: YYYY-MM-DD |
| closing_to date
|
Include closings on or before this date.Format: YYYY-MM-DD |
| city string
|
Partial city name. Maximum 100 characters. |
| state string
|
State name or value recognized by Sphere. |
| page integer
|
Page number from 1 to 10000. Default: 1. |
| per_page integer
|
Results per page from 1 to 100. Default: 50. The legacy limit parameter remains accepted for existing integrations. |
| Code | Description |
|---|---|
| 200 | Returns items, page, per_page, and has_more. |
| 400 | A filter, date, owner, or pagination value is invalid. |
| 401 | The Bearer token is missing, invalid, or expired. |
{
"items": [{
"id": "12345",
"file_number": "2026-12345",
"type": "seller",
"status": "pending",
"address": "123 Main Street",
"city": "Austin",
"state": "TX",
"postal_code": "78701",
"closing_price": "525000",
"closing_date": "2026-12-15",
"owner_name": "Samantha Agent",
"customers": [{
"id": "67890",
"name": "John Smith",
"email": "john@example.com"
}]
}],
"page": 1,
"per_page": 50,
"has_more": false
}
| Name | Description |
|---|---|
| idrequired
integer
|
Positive numeric Sphere Transaction ID. |
| Code | Description |
|---|---|
| 200 | Returns the Transaction under the item key, including its closing price and owner name. The current get response returns closing_date as its stored Unix timestamp string; search responses normalize it to YYYY-MM-DD. |
| 401 | The Bearer token is missing, invalid, or expired. |
| 404 | The Transaction does not exist or is not visible to the authenticated user. |
{
"item": {
"id": "12345",
"file_number": "2026-12345",
"type": "seller",
"status": "pending",
"address": "123 Main Street",
"city": "Austin",
"state": "TX",
"postal_code": "78701",
"closing_price": "525000",
"closing_date": "1797292800",
"owner_name": "Samantha Agent"
}
}
| Name | Description |
|---|---|
| typerequired
string
|
Type of transaction: buyer, seller or referral income. |
| seller_client / buyer_clientrequired array<object>
|
Client details. buyer_client is used for buyer / referral income transactions.e.g. [{"first_name":"abc","last_name":"xyz","company":"comp_1,abc1","email":"abc@xyz.com","phone":"2222200000"}] |
| status string
|
Status of the transaction. Default value is potential. |
| list_date date
|
Transaction list date.Format: mm/dd/yyyy |
| mls_no string
|
MLS number. |
| owner_email string
|
Email id of the transaction lead. |
| owner_name string
|
Name of the transaction lead. |
| unit_no string
|
Unit number of the address. |
| address string
|
Address of the transaction. |
| city string
|
City. |
| state string
|
State. |
| zipcode string
|
Zip code of the address. |
| created_on date
|
Created on.Format: mm/dd/yyyy, e.g. 12/30/2025 |
| list_price number
|
List price. |
| sales_price number
|
Sales price. |
| seller_contribution / buyer_contribution number
|
Seller / buyer contribution.e.g. $500 or 5% |
| closing_date date
|
Closing date.Format: mm/dd/yyyy or mm/dd/yyyy h:i a, e.g. 12/24/2025 10:00 pm |
| possession_date date
|
Possession date.Format: mm/dd/yyyy or mm/dd/yyyy h:i a, e.g. 12/24/2025 10:00 pm |
| contract_no string
|
Contract number. |
| date_written date
|
Date written.Format: mm/dd/yyyy or mm/dd/yyyy h:i a, e.g. 12/24/2025 10:00 pm |
| mutual_acceptance date
|
Mutual acceptance date.Format: mm/dd/yyyy or mm/dd/yyyy h:i a, e.g. 12/24/2025 10:00 pm |
| timeline_begins date
|
Timeline begins date.Format: mm/dd/yyyy or mm/dd/yyyy h:i a, e.g. 12/24/2025 10:00 pm |
| earnest_money number
|
Earnest money.e.g. 5000 |
| earnest_money_deadline date
|
Earnest money deadline.Format: mm/dd/yyyy or mm/dd/yyyy h:i a, e.g. 12/24/2025 10:00 pm |
| inspection_period_ends date
|
Inspection period ends.Format: mm/dd/yyyy or mm/dd/yyyy h:i a, e.g. 12/24/2025 10:00 pm |
| disclosure_deadline date
|
Disclosure deadline.Format: mm/dd/yyyy or mm/dd/yyyy h:i a, e.g. 12/24/2025 10:00 pm |
| seller_paid_close number
|
Seller paid close.e.g. 5000 |
| hoa_docs_received date
|
HOA docs received.Format: mm/dd/yyyy or mm/dd/yyyy h:i a, e.g. 12/24/2025 10:00 pm |
| appraisal_ordered date
|
Appraisal ordered.Format: mm/dd/yyyy or mm/dd/yyyy h:i a, e.g. 12/24/2025 10:00 pm |
| repairs_due date
|
Repairs due.Format: mm/dd/yyyy or mm/dd/yyyy h:i a, e.g. 12/24/2025 10:00 pm |
| personal_property date
|
Personal property.Format: mm/dd/yyyy or mm/dd/yyyy h:i a, e.g. 12/24/2025 10:00 pm |
| general_inspection date
|
General inspection.Format: mm/dd/yyyy or mm/dd/yyyy h:i a, e.g. 12/24/2025 10:00 pm |
| sewer_inspection date
|
Sewer inspection.Format: mm/dd/yyyy or mm/dd/yyyy h:i a, e.g. 12/24/2025 10:00 pm |
| radon_drop_off date
|
Radon drop off.Format: mm/dd/yyyy or mm/dd/yyyy h:i a, e.g. 12/24/2025 10:00 pm |
| radon_pickup date
|
Radon pickup.Format: mm/dd/yyyy or mm/dd/yyyy h:i a, e.g. 12/24/2025 10:00 pm |
| roof_inspection date
|
Roof inspection.Format: mm/dd/yyyy or mm/dd/yyyy h:i a, e.g. 12/24/2025 10:00 pm |
| soil_inspection date
|
Soil inspection.Format: mm/dd/yyyy or mm/dd/yyyy h:i a, e.g. 12/24/2025 10:00 pm |
| photography date
|
Photography.Format: mm/dd/yyyy or mm/dd/yyyy h:i a, e.g. 12/24/2025 10:00 pm |
| underground_tank_inspection date
|
Underground tank inspection.Format: mm/dd/yyyy or mm/dd/yyyy h:i a, e.g. 12/24/2025 10:00 pm |
| staging date
|
Staging.Format: mm/dd/yyyy or mm/dd/yyyy h:i a, e.g. 12/24/2025 10:00 pm |
| cleaners date
|
Cleaners.Format: mm/dd/yyyy or mm/dd/yyyy h:i a, e.g. 12/24/2025 10:00 pm |
| sign_install date
|
Sign install.Format: mm/dd/yyyy or mm/dd/yyyy h:i a, e.g. 12/24/2025 10:00 pm |
| buyer_s_agent_s_commission number
|
Buyer’s agent’s commission, for a Seller transaction.e.g. 5000 |
| seller_s_agent_s_commission number
|
Seller’s agent’s commission, for a Buyer transaction.e.g. 5000 |
| additional_notes string
|
Additional notes. |
| assignee array<object>
|
Assignee details.e.g. [{"name":"John Smith","email":"john@mail.com"}] |
| Code | Description |
|---|---|
| 200 | Transaction saved. Returns a trans_id and a status message indicating whether the record was created or updated. |
// Update case
{
"status": true,
"code": 200,
"message": "Transaction updated successfully",
"trans_id": 23567
}
// Create case
{
"status": true,
"code": 200,
"message": "Transaction created successfully",
"trans_id": 23571
}
| Name | Description |
|---|---|
| name string
|
Partial first, middle, or last name. Spaces are ignored. Maximum 200 characters. |
| email string
|
Exact email address. Maximum 320 characters. |
| phone string
|
Exact primary phone value. Maximum 50 characters. |
| company string
|
Partial company name. Maximum 200 characters. |
| city string
|
Partial city name. Maximum 100 characters. |
| state string
|
State name or value recognized by Sphere. |
| last_contacted_before date
|
People contacted before this date, including People never contacted.Format: YYYY-MM-DD |
| page integer
|
Page number from 1 to 10000. Default: 1. |
| per_page integer
|
Results per page from 1 to 100. Default: 50. The legacy limit parameter remains accepted for existing integrations. |
| Code | Description |
|---|---|
| 200 | Returns items, page, per_page, and has_more. |
| 400 | A filter, date, state, or pagination value is invalid. |
| 401 | The Bearer token is missing, invalid, or expired. |
{
"items": [{
"id": "17837384",
"name": "Margo A Brown",
"email": "margo@example.com",
"phone": "5551234567",
"company": "Example Realty",
"city": "Miami",
"state": "FL",
"last_contacted": "2026-10-01 12:00:00",
"dob": "1985-04-12"
}],
"page": 1,
"per_page": 50,
"has_more": false
}
| Name | Description |
|---|---|
| idrequired
integer
|
Positive numeric Sphere People ID. |
| Code | Description |
|---|---|
| 200 | Returns the People record under the item key, including birthday and saved gift ideas. |
| 401 | The Bearer token is missing, invalid, or expired. |
| 404 | The People record does not exist or is not visible to the authenticated user. |
{
"item": {
"id": "17837384",
"name": "Margo A Brown",
"email": "margo@example.com",
"phone": "5551234567",
"company": "Example Realty",
"city": "Miami",
"state": "FL",
"last_contacted": "2026-10-01 12:00:00",
"dob": "1985-04-12",
"gift_ideas": "Coffee"
}
}
| Name | Description |
|---|---|
| first_namerequired
string
|
First name — the only mandatory field. |
| middle_name string
|
Middle name. |
| last_name string
|
Last name. |
| title string
|
Title. |
| dob date
|
Date of birth.Format: yyyy/mm/dd |
| letter_salutation string
|
Letter salutation. |
| email string
|
Email address. |
| primary_phone string
|
Primary phone number. |
| web_page string
|
Customer web page. |
| facebook_link string
|
Facebook link. |
| linkedin_link string
|
LinkedIn link. |
| twitter_link string
|
Twitter link. |
| instagram_link string
|
Instagram link. |
| amazon_wishlist string
|
Amazon wishlist link. |
| home_address string
|
Street address. |
| unit_no string
|
Unit number. |
| city string
|
City. |
| state string
|
State. |
| country string
|
Country. |
| zipcode string
|
Zip code. |
| work_anniversary date
|
Work anniversary date.Format: mm/dd/yyyy |
| wedding_anniversary date
|
Wedding anniversary date.Format: mm/dd/yyyy |
| fav_food string
|
Favorite food. |
| fav_movies string
|
Favorite movie. |
| fav_book string
|
Favorite book. |
| gift_ideas string
|
Gift ideas. |
| company_name string
|
Company name. |
| office_address string
|
Office street address. |
| office_city string
|
Office city. |
| office_state string
|
Office state. |
| office_country string
|
Office country. |
| office_zip string
|
Office zip code. |
| owner_email_id string
|
Email id of a team member. If a valid team-member email is sent, the person is added to that team member’s Sphere account. |
| Code | Description |
|---|---|
| 200 | Person saved. Returns user_id and the new people_id. |
{
"status": true,
"code": 200,
"message": "Saved Successfully.",
"user_id": 2,
"people_id": 123
}
| first_name | string |
| last_name | string |
| company | string |
| string | |
| phone | string |
| name | string |
| string |