Glass America Territories
Revision as of 14:27, 21 July 2026 by Ashley DeBon (talk | contribs) (Created page with "== Get Glass America Territories == === Base URL === https://apimobile.callproof.com === Endpoint === /api/glass-america/territories === Purpose === Retrieves the list of G...")
Contents
Get Glass America Territories
Base URL
https://apimobile.callproof.com
Endpoint
/api/glass-america/territories
Purpose
Retrieves the list of Glass America / Omega territories available for dashboard filtering. Territory data is loaded from the external Omega EDI territories service and returned as a simplified id/name list.
HTTP Method
GET
Headers
| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer access token |
| Phpsessid | Yes | Omega EDI session identifier used for the external territories request |
| Cookie1 | Yes | Omega EDI cookie value used for the external territories request |
Security
- Yes – Requires Bearer Token authentication (and two-factor authentication middleware applied to this route group).
Parameters
Path Parameters
None.
Query Parameters
None.
Request Body
None.
Successful Response (200)
Returns the territories list for dashboard use.
| Field | Type | Description |
|---|---|---|
| clientStatusCode | integer | Status indicator for the client (for example, 200) |
| user_id | integer | Identifier of the authenticated user |
| company_id | integer | Identifier of the authenticated user’s company |
| data | object | Territories payload |
| uri | string | Requested resource URI |
data.territories_details[]
| Field | Type | Description |
|---|---|---|
| id | integer/string | Unique identifier of the territory |
| name | string | Territory display name |
Error Responses
| Status Code | Meaning |
|---|---|
| 400 | Bad Request – territories could not be retrieved |
| 401 | Unauthorized – missing, invalid, or expired Bearer token |
- 400 – External Omega territories request failed, or another error occurred while loading territories.
- 401 – Authentication failed or the access token is missing/expired.