This guide will help you configure and utilize Team GPS Open APIs, allowing third-party applications to extract and use your Team GPS data. The article covers the following topics:
TABLE OF CONTENTS
Key generation and authentication
To access the Team GPS API, you need an API key. Follow these steps to generate your key:
- Log in as an Admin or Integrations Admin user: Ensure you have the appropriate permissions to access API settings.
- Navigate to:
Admin Settings > Integrations > Public APIs.
- Enable Public APIs by toggling the Enable option.
- A confirmation message will appear; click Yes to activate.
- A confirmation message will appear; click Yes to activate.
- Click the Generate Key button.
- Name your key.
- Best Practice: Name the key after the tool with which you’re integrating (e.g., "Power BI Integration").
- Best Practice: Name the key after the tool with which you’re integrating (e.g., "Power BI Integration").
- Copy or download the generated key.
Note: This is a secret key and will only be shown once for security reasons. If you lose it, you will need to generate a new key.
API Testing using Swagger
- Access API Documentation:
Visit the following link to view the API documentation:
https://api.team-gps.net/open-api/v1/swagger/ - Authorize the API:
On the documentation page, click on Authorize, paste your API key into the Value field, then click Authorize followed by Close. - Retrieve CSAT Data:
Select
CSAT API ( GET/csat/csat-list) and c
lick on Try it outFill in parameters (optional):
Parameter Type Description Default Value page
string The page number to fetch. 1 page_size
string The number of reviews per page. 10 from_submitted_date
string Start date filter (format: YYYY-MM-DD). - to_submitted_date
string End date filter (format: YYYY-MM-DD). -
- Once you have added the parameters you can click on Execute option to view your CSAT review list.
Once you execute, you will see the requested data in the response body:
- Response example:
200 OK Response for CSAT Reviews:
{
"message": "CSAT reviews fetched successfully.",
"data": {
"current": 1,
"total": 80,
"total_pages": 8,
"results": [
{
"id": 227676,
"rating": "Positive",
"comment": "The resolution was quick!",
"company": "BlueWeb, Company",
"contact_name": "Amit Mak",
"contact_email": "amit.mak1995@yahoo.com",
"submitted_date": "2025-07-01T16:05:15.215272Z",
"team_members": [
{
"is_internal_user": true,
"identifier": "ronan.thakur",
"full_name": "michelle stark",
"email": "mstark@yopmail.com",
"departments": [
"Software Developement"
],
"manager": {
"name": "Alex Bines",
"email": "alex.bines@yopmail.com"
}
}
],
"ticket_id": "3690",
"ticket_type": "ServiceTicket",
"ticket_name": "Monthly Feedback for Lawren For the Month of June",
"tags": [
"Helpfulness",
"Knowledge"
],
"ticket_queue": "Professional Services",
"site": "Main",
"source": "Ticket",
"has_marketing_permission": true,
"is_published": false,
"psa_tool": "Connectwise",
"departments": [
"Software Developement"
],
"managers": [
{
"email": "alex.bines@yopmail.com",
"name": "Alex Bines"
}
]
},
Pagination
Team GPS APIs support pagination to handle large data sets. Use the following parameters:
page
: Specify the page number.page_size
: Number of items per page.
Example:
GET https://api.teamgps.com/v1/csat-reviews?page=2&page_size=50
Error Codes and Handling
Common API errors include:
Error Code | Description |
---|---|
400 | Bad Request |
401 | Unauthorized (Invalid API Key) |
403 | Forbidden (Access Denied) |
404 | Resource Not Found |
429 | Rate Limit Exceeded |
500 | Internal Server Error |
Example Error Response (401 Unauthorized):
{
"message": "Invalid API key."
}
Other response code examples:
Note: For detailed explanation of error codes refer Swagger documentation request.