> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://developers.jazzhq.ai/api-reference/vendor-customer-ap-is/partner/list-partners/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.jazzhq.ai/_mcp/server. # List partners GET https://api.jazzhq.ai/api/v1/vendors/partners Returns partners connected to your vendor account, paginated. Reference: https://developers.jazzhq.ai/api-reference/vendor-customer-ap-is/partner/list-partners ## Authentication - `X-API-KEY` header (required) — Your vendor API key. Required on every request under /api/v1/vendors/**. ## Request ### Query parameters - `page` (integer, optional, default: 0) — Zero-based page number. - `perPage` (integer, optional, default: 20) — Number of results per page. - `sortBy` (string, optional, default: id) — Field to sort results by. ## Response ### 200 Partners retrieved successfully. - `success` (boolean, optional) - `message` (string, optional, nullable) - `data` (PartnerPage, optional) - `timestamp` (datetime, optional) ## Errors ### 401 Unauthorized Error Authentication failed - the X-API-KEY header was missing or invalid, or the request path is outside the /api/v1/vendors/ namespace this key is authorized for. - `success` (boolean, optional) - `message` (string, optional) — One of: API_KEY_MISSING, INVALID_API_KEY, UNKNOWN_API_NAMESPACE. - `data` (AuthErrorResponseData, optional, nullable) - `timestamp` (datetime, optional) ### 500 Internal Server Error An unexpected error occurred. - `message` (string, optional) — Machine-readable error code. One of: VALIDATION_FAILED, INVALID_REQUEST, DUPLICATE_ENTRY, RESOURCE_NOT_FOUND, INVALID_STATE_TRANSITION, INTERNAL_SERVER_ERROR. - `status` (integer, optional) - `success` (boolean, optional) - `errors` (list of ValidationErrorDetail, optional) - `timestamp` (datetime, optional) ## Types ### PartnerPage - `data` (list of Partner, optional) - `page` (integer, optional) - `perPage` (integer, optional) - `totalItems` (long, optional) ### AuthErrorResponseData ### ValidationErrorDetail - `field` (string, optional) — Name of the request field this error relates to. - `error` (string, optional) — Human-readable description of what's wrong. ### Partner - `id` (long, optional) - `companyName` (string, optional) - `description` (string, optional, nullable) - `website` (string, optional, nullable) - `country` (string, optional, nullable) - `companySize` (string, optional, nullable) - `contactName` (string, optional) - `contactEmailAddress` (string, optional) - `contactPhone` (string, optional, nullable) - `contactRole` (string, optional, nullable) - `type` (enum, optional, nullable) - Allowed values: `RESELLER`, `DISTRIBUTOR` - `users` (list of PartnerUser, optional, nullable) — The users created by the invite. Populated on the invite response only - not returned when listing partners. - `invitedAt` (datetime, optional, nullable) - `createdAt` (datetime, optional) ### PartnerUser - `id` (long, optional) - `firstName` (string, optional) - `lastName` (string, optional, nullable) - `emailAddress` (string, optional) - `phoneNumber` (string, optional, nullable) - `jobTitle` (string, optional, nullable) - `lastActiveAt` (datetime, optional, nullable) — When this user was last active in the partner portal, updated at most once per 24 hours. Null means they have never signed in - i.e. the invite is still outstanding. ## Examples **Response** ```json { "success": true, "message": "string", "data": { "data": [ { "id": 1001, "companyName": "string", "description": "string", "website": "string", "country": "string", "companySize": "string", "contactName": "string", "contactEmailAddress": "string", "contactPhone": "string", "contactRole": "string", "type": "string", "users": [ { "id": 101, "firstName": "string", "lastName": "string", "emailAddress": "string", "phoneNumber": "string", "jobTitle": "string", "lastActiveAt": "2024-01-15T09:30:00Z" } ], "invitedAt": "2024-01-15T09:30:00Z", "createdAt": "2024-01-15T09:30:00Z" } ], "page": 1, "perPage": 1, "totalItems": 1 }, "timestamp": "2024-01-15T09:30:00Z" } ``` **SDK Code** ```python import requests url = "https://api.jazzhq.ai/api/v1/vendors/partners" headers = {"X-API-KEY": ""} response = requests.get(url, headers=headers) print(response.json()) ``` ```javascript const url = 'https://api.jazzhq.ai/api/v1/vendors/partners'; const options = {method: 'GET', headers: {'X-API-KEY': ''}}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```go package main import ( "fmt" "net/http" "io" ) func main() { url := "https://api.jazzhq.ai/api/v1/vendors/partners" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("X-API-KEY", "") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby require 'uri' require 'net/http' url = URI("https://api.jazzhq.ai/api/v1/vendors/partners") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) request["X-API-KEY"] = '' response = http.request(request) puts response.read_body ``` ```java import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.get("https://api.jazzhq.ai/api/v1/vendors/partners") .header("X-API-KEY", "") .asString(); ``` ```php request('GET', 'https://api.jazzhq.ai/api/v1/vendors/partners', [ 'headers' => [ 'X-API-KEY' => '', ], ]); echo $response->getBody(); ``` ```csharp using RestSharp; var client = new RestClient("https://api.jazzhq.ai/api/v1/vendors/partners"); var request = new RestRequest(Method.GET); request.AddHeader("X-API-KEY", ""); IRestResponse response = client.Execute(request); ``` ```swift import Foundation let headers = ["X-API-KEY": ""] let request = NSMutableURLRequest(url: NSURL(string: "https://api.jazzhq.ai/api/v1/vendors/partners")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0) request.httpMethod = "GET" request.allHTTPHeaderFields = headers let session = URLSession.shared let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in if (error != nil) { print(error as Any) } else { let httpResponse = response as? HTTPURLResponse print(httpResponse) } }) dataTask.resume() ```