Your IDs
Most endpoints look like this:
/api/v1/organizations/{orgID}/products/{productID}/tickets| ID | Looks like | Where to find it | Used for |
|---|---|---|---|
| Organization ID | 01a2116d-0da9-77d5-8b5d-c55979eebe59 |
Dashboard → Developers → Your IDs | {orgID} in every API URL |
| Product ID | 01a211b0-054c-7c56-a7ad-0fac8a3d108f |
Developers → Your IDs, or GET /organizations/{orgID}/products |
{productID} in API URLs |
| Public product ID | prod_8Jq2… |
Website widget → Install | The website widget and anything a browser sees. Safe to put in a web page |
The organization and product IDs aren’t secret, but they’re only useful together with an API key. The public product ID is the one meant for web pages; never use your API key there.
Finding product IDs in code
Section titled “Finding product IDs in code”curl https://api.supportaka.com/api/v1/organizations/$SUPPORTAKA_ORG/products \ -H "Authorization: Bearer $SUPPORTAKA_KEY"Each product in products has its id, public_id, name and status. Add ?status=active to leave out archived ones.
If your key is limited to one product, only that product is listed, and any other {productID} answers 404 PRODUCT_NOT_FOUND.