Authentication at Pion
The Pion API provides an OAuth Client Credentials grant flow for accessing our services. Client credentials can be self-served in the Pion Portal. This will create a new pairing of a clientId and clientSecret that is used to fetch an access token that must be passed into requests that require authentication. Once you’ve got client credentials, you can send a request to the /auth/token endpoint. This is a post request with two body parameters. Client ID The Client ID is a unique identifier that is attached to your credentials by Pion. This should be considered sensitive data and stored securely. Client Secret The Client Secret is a confidential key that should be stored securely. This is used in conjunction with the Client ID to grant access to the Pion API. This endpoint will return an access token that can then be used in subsequent requests that require authentication. Access Token A short-lived token that is used to verify that a client has permissions to access Pion data.Leads
The Lead Service captures rich, consented data directly from a brands verification integrations and marketplace, allowing you to enrich customer profiles and enhance your existing CRM. Leads are returned in batches of 1000. When a request has more than 1000 leads, an optional cursor attribute will be present in the response, which can be used to fetch the next batch of 1000 leads.| Consumer Group | Data Available |
|---|---|
| Student & Graduate | Email Address, First Name, Last Name, Country, Institution, Date of Birth, Gender, Expiry Date, Graduation Year |
| Key Worker & Social Assistance Groups | Email Address, First Name, Last Name, Country |
Technical Documentation
[POST] /auth/token
POST https://api.wearepion.com/auth/tokenBody Params
| Field | Type | Description |
|---|---|---|
| clientId | string | A unique ID provided by Pion |
| clientSecret | string | A confidential, unique key provided by Pion |
Headers
| Content-Type | application/json |
|---|
Example Responses
200 OK
400 Bad Request
- JSON body required
- clientId required
- clientSecret required
401 Unauthorised
[GET] /leads
GET https://api.wearepion.com/leads?from=13-01-2026&to=13-02-2026Headers
| Content-Type | application/json |
|---|---|
| Authorization | Bearer a1b2c3d4 |
Query Parameters
| from (required) | dd-mm-yyyy |
|---|---|
| to (required) | dd-mm-yyyy |
| cursor (optional) | <cursor returned from pion api leads response> |