Connect KPN to Conduit
Paste the client ID and secret from the Grexx portal (API Gegevens). Leave both URL fields blank to use KPN’s Grexx test environment (acceptatie). To use Grexx production, also copy the Grexx API URL and Grexx token URL from the same page.
Before you start
Section titled “Before you start”You need:
- A Conduit role that can manage connections — owner or admin on your organization.
- Your Grexx portal open on the API Gegevens page. It has the client ID, the client secret, and the two URLs.
Decide which Grexx environment this connection uses:
- Test environment (acceptatie): you only need the test client ID and secret. Leave both URL fields blank.
- Production: you need the production client ID and secret, plus the production Grexx API URL and Grexx token URL. Production has its own client ID and secret. The test pair does not work there.
Connect KPN in Conduit
Section titled “Connect KPN in Conduit”- In Conduit, go to Connections (
/org/catalog). - Find KPN (under Network, marked Preview) and click Connect.
- Fill the fields:
- Client ID (Grexx username)
- Client secret (Grexx password)
- Grexx API URL (optional)
- Grexx token URL (optional)
- Click Connect. Before anything is saved, Conduit requests a token from the Grexx token URL with your client ID and secret. Saving rejects a bad credential pair, a malformed URL, a host or path that isn’t allowed, and a host that resolves to a non-public address. The API URL is checked only for format, host, path, and DNS; it isn’t called at save time. A good connection shows Connected.
The credential is stored for the organization, so every technician in the org shares this KPN connection.
Grexx API URL and token URL
Section titled “Grexx API URL and token URL”Both URL fields are optional. Fill both, or leave both empty. Conduit rejects a connection with only one of them.
- Both empty: the connection uses the Grexx test environment (acceptatie).
- Both filled: the connection uses the Grexx environment those URLs point at. Put that environment’s client ID and secret in the Client ID and Client secret fields above.
Copy both values from the API Gegevens page in your Grexx portal.
API Gegevens lists API URLs that end in /realtime, /queued, or
/ordermodule. Paste only the part before that suffix.
| Field | What to paste | Example |
|---|---|---|
| Grexx API URL | The interface root. Do not add /realtime. Conduit adds that itself. |
https://service.grexx.today/interfaces/kpn/… |
| Grexx token URL | The token address, exactly https://service.grexx.today/oauth/access_token for production or https://service-accept.grexx.today/oauth/access_token for the test environment. |
https://service.grexx.today/oauth/access_token |
Conduit only accepts Grexx addresses:
- The host must be
service.grexx.today(production) orservice-accept.grexx.today(test environment). - The address must start with
https://. Plainhttp://, other ports, and IP addresses are not accepted. - The API URL path starts with
/interfaces/kpn/. The token URL path is exactly/oauth/access_token, with nothing after it.
To switch an existing connection between the test environment and production, reconnect KPN with the other environment’s client ID, secret, and URLs.
What you can call
Section titled “What you can call”Fourteen lookups that only read data, and one action that changes something.
Address and availability:
- Test connection — checks that the client ID and secret are accepted.
- Zip code check — technology and speeds at a Dutch address.
- Check availability (
kpn_grexx_prequalification): see which KPN products can be ordered at a Dutch address, and from which supplier. - Carrier info (
kpn_grexx_carrier_info): connection points, line details, and planned work at a Dutch address.
Customers and orders:
- Find customers (
kpn_grexx_customer_data): search your KPN customer cards by ID, name, address, or number. - List orders (
kpn_grexx_order_summary): orders for a customer, filtered by state, product, or date. - Look up an order (
kpn_grexx_order_data): see the customer ID, product code, and quantity for one KPN order.
Internet lines:
- Login history (
kpn_grexx_radius_check): how often the customer’s modem has signed in to the line over the last 7 days. Frequent sign-ins usually mean the connection keeps dropping. - Session check (
kpn_grexx_ras_check): whether the customer’s line is currently online, and its IP address. - Start a line diagnosis (
kpn_grexx_start_line_diagnose): starts a KPN test on an internet line (xDSL) that keeps dropping or won’t connect. It makes a change on KPN’s side, so it needs write access.
Mobile:
- SIM card (
kpn_grexx_get_sim): the active SIM or eSIM on a mobile order. The SIM unlock code (PUK) and eSIM activation codes are hidden. - Mobile settings (
kpn_grexx_mobile_settings): blocks and limits on a mobile number. - Mobile usage (
kpn_grexx_mobile_usage): current data, call, and SMS use. - Mobile orders (
kpn_grexx_mobile_orders): number, SIM, subscription, and bundles for up to 50 mobile orders. - Number porting (
kpn_grexx_available_portings): which phone numbers can be moved over from another provider for a customer or a phone-system (switchboard) order.
If connect fails
Section titled “If connect fails”- Grexx rejected the username or password. Copy the client ID and secret again from API Gegevens. Check that they belong to the same environment as the URLs: production URLs need the production pair, and blank URLs need the test pair.
- Grexx API URL is missing or Grexx token URL is missing. You filled only one URL field. Copy both from API Gegevens, or clear both to use the test environment.
- An error that names the Grexx API URL or Grexx token URL and a rule
(for example, that the API URL must be the interface root without
/realtime, or that the token URL must be/oauth/access_token). Copy the URLs again from API Gegevens. For the API URL, remove any/realtime,/queued, or/ordermodulesuffix, for examplehttps://service.grexx.today/interfaces/kpn/kpn_partners/<id>. Copy the token URL unchanged, for examplehttps://service.grexx.today/oauth/access_token. - KPN isn’t set up on this Conduit yet. Contact WYRE support.

