Meridian Supply Co. mock APIs
A fictional company for testing Eagle-I. Each system copies the shape and login style of the product named.
These credentials only unlock this local mock. They are not real accounts.
"Now" for relative date ranges is the end of the demo clock's day. Other pages: /overview (storyline check),
POST /admin/reload (after re-seeding).
Demo controls · no login
The clock starts at the anchor date and can move up to a year ahead; new days are simulated the same way as the history,
and the past never changes. Scenarios layer on the built-in storylines from their start date.
- GET /admin/state (today, storylines, scenario targets and effects)
- POST /admin/clock {"days": 7} | {"date": "2026-12-20"} | {"reset": true} (reset also clears scenarios)
- POST /admin/scenarios {"target": "site:PHX", "effect": "sharp-slump", "startsInDays": 7, "overDays": 14}
- DELETE /admin/scenarios/{id}
Effects: slump, sharp-slump, improve, recover (undo the stories so far).
HR · shaped like ADP Workforce Now · API key header
| X-Api-Key | mrd_adp_7c1f0e5a9b2d4c68 |
- GET /adp/hr/v2/workers?$top=100&$skip=0 ($filter=workers/workerStatus/statusCode/codeValue eq 'Active'; empty page = 204)
- GET /adp/hr/v2/workers/{associateOID}
- GET /adp/hr/v1/organization-departments (divisions + teams)
- GET /adp/hr/v1/work-locations (19 sites with lat/long)
- GET /adp/hr/v1/engagement-surveys (quarterly team engagement; not a real ADP endpoint)
curl -H "X-Api-Key: mrd_adp_7c1f0e5a9b2d4c68" "http://eapi.toadee.club/adp/hr/v2/workers?$top=2"
CRM · shaped like HubSpot · Private-app token (Bearer)
| Bearer token | pat-na1-meridian-3f6b2c1d-8e4a-4f0b-9c7d-2a5e6f1b0c9d |
- GET /hubspot/crm/v3/owners?limit=100&after=... (archived=true for people who left)
- GET /hubspot/crm/v3/objects/{deals|contacts|goal_targets}?limit=100&properties=a,b&after=...
- POST /hubspot/crm/v3/objects/{type}/search {filterGroups, sorts, properties, limit, after} → total + results
- GET /hubspot/crm/v3/pipelines/deals
- Deal props: dealname amount dealstage pipeline closedate createdate hubspot_owner_id hs_is_closed hs_is_closed_won days_to_close location_code
- Contact props: createdate hs_analytics_source lifecyclestage hs_lifecyclestage_marketingqualifiedlead_date hubspot_owner_id
curl -X POST -H "Authorization: Bearer pat-na1-meridian-3f6b2c1d-8e4a-4f0b-9c7d-2a5e6f1b0c9d" -H "Content-Type: application/json" "http://eapi.toadee.club/hubspot/crm/v3/objects/deals/search" -d '{"filterGroups":[{"filters":[{"propertyName":"dealstage","operator":"EQ","value":"closedwon"},{"propertyName":"closedate","operator":"GTE","value":"2026-09-01"}]}],"limit":1}'Accounting · shaped like QuickBooks Online · OAuth2 refresh token → 1-hour Bearer token
| client_id | ABmeridianQboClient |
| client_secret | qbo-secret-meridian |
| refresh_token | AB11meridianRefresh |
| realmId | 9341452938475610 |
- POST /qbo/oauth2/v1/tokens/bearer Basic(client_id:client_secret), form grant_type=refresh_token&refresh_token=...
- GET /qbo/v3/company/{realmId}/reports/ProfitAndLoss?start_date=&end_date=&summarize_column_by=Month|Total&department=&class=
- GET /qbo/v3/company/{realmId}/reports/BudgetVsActuals?date_macro=Last Month
- GET /qbo/v3/company/{realmId}/query?query=select * from Account|Department|Class
- department = location (site) ids, class = division ids. Only closed months have entries.
curl -X POST -H "Authorization: Basic QUJtZXJpZGlhblFib0NsaWVudDpxYm8tc2VjcmV0LW1lcmlkaWFu" -d "grant_type=refresh_token&refresh_token=AB11meridianRefresh" http://eapi.toadee.club/qbo/oauth2/v1/tokens/bearer
curl -H "Authorization: Bearer ACCESS_TOKEN" "http://eapi.toadee.club/qbo/v3/company/9341452938475610/reports/BudgetVsActuals?date_macro=Last%20Month"
Support · shaped like Zendesk · Basic auth: {email}/token : {api_token}
| email | api@meridiansupply.example |
| api_token | zd_meridian_6b3a9e1c |
- GET /zendesk/api/v2/users.json?role=agent&page[size]=100&page[after]=...
- GET /zendesk/api/v2/groups.json, /group_memberships.json (groups = support teams)
- GET /zendesk/api/v2/incremental/tickets/cursor.json?start_time={unix}&include=metric_sets
- GET /zendesk/api/v2/tickets/{id}.json, /tickets/{id}/metrics.json
- GET /zendesk/api/v2/search/count.json?query=..., /search.json?query=...&page=&per_page=
- Query keys: type:ticket status priority satisfaction group assignee(id|email) created|updated|solved with : < > <= >= and yyyy-MM-dd or 30days
curl -H "Authorization: Basic YXBpQG1lcmlkaWFuc3VwcGx5LmV4YW1wbGUvdG9rZW46emRfbWVyaWRpYW5fNmIzYTllMWM=" "http://eapi.toadee.club/zendesk/api/v2/search/count.json?query=type:ticket%20satisfaction:bad%20created%3E30days"
Ads: Google · shaped like Google Ads API v17 · OAuth2 refresh token → Bearer, plus developer-token header
| client_id | meridian-ads.apps.googleusercontent.example |
| client_secret | GOCSPX-meridian |
| refresh_token | 1//meridian-refresh |
| developer-token | MERIDIAN-DEV-TOKEN |
| customer id | 4815162342 |
- POST /google/oauth2/token form grant_type=refresh_token, client_id, client_secret, refresh_token
- POST /googleads/v17/customers/{id}/googleAds:search {"query": "GAQL", "pageToken": ...} (also :searchStream)
- GAQL: FROM campaign|customer; segments.date DURING LAST_30_DAYS|BETWEEN 'a' AND 'b'|>=; campaign.id IN (...); ORDER BY; LIMIT
- Metrics: impressions clicks cost_micros conversions conversions_value ctr average_cpc cost_per_conversion
curl -H "Authorization: Bearer ACCESS_TOKEN" -H "developer-token: MERIDIAN-DEV-TOKEN" -H "Content-Type: application/json" http://eapi.toadee.club/googleads/v17/customers/4815162342/googleAds:search -d '{"query":"SELECT campaign.name, metrics.cost_micros, metrics.average_cpc FROM campaign WHERE segments.date DURING LAST_30_DAYS"}'Ads: Meta · shaped like Meta Marketing API v19.0 · Long-lived access token (Bearer or ?access_token=)
| access_token | EAAGmeridianMockToken |
| ad account | act_1029384756 |
- GET /meta/v19.0/act_{id}/campaigns?fields=id,name,daily_budget
- GET /meta/v19.0/act_{id}/insights?level=account|campaign&date_preset=last_30d&time_range={"since":..,"until":..}&time_increment=1&fields=spend,clicks,cpc,actions,cost_per_action_type
curl "http://eapi.toadee.club/meta/v19.0/act_1029384756/insights?level=campaign&fields=campaign_name,spend,cost_per_action_type&access_token=EAAGmeridianMockToken"
Ads: LinkedIn · shaped like LinkedIn Marketing API · Client credentials → Bearer, plus LinkedIn-Version header
| client_id | 86meridianli |
| client_secret | li-secret-meridian |
| ad account | 510000001 |
- POST /linkedin/oauth/v2/accessToken form grant_type=client_credentials, client_id, client_secret
- GET /linkedin/rest/adAccounts/{id}/adCampaigns?q=search
- GET /linkedin/rest/adAnalytics?q=analytics&pivot=CAMPAIGN&timeGranularity=DAILY|MONTHLY|ALL&dateRange=(start:(year:2026,month:11,day:1),end:(year:2026,month:11,day:30))&fields=impressions,clicks,costInLocalCurrency,oneClickLeads,pivotValues,dateRange
curl -H "Authorization: Bearer ACCESS_TOKEN" -H "LinkedIn-Version: 202411" "http://eapi.toadee.club/linkedin/rest/adAnalytics?q=analytics&pivot=CAMPAIGN&dateRange=(start:(year:2026,month:11,day:1))&fields=costInLocalCurrency,oneClickLeads"
Operations · shaped like NetSuite · NLAuth header
| account | MERIDIAN_SB1 |
| email | integration@meridiansupply.example |
| signature | ns-meridian-pass |
- GET /netsuite/services/rest/record/v1/location?limit=&offset=, /location/{id}
- GET /netsuite/app/site/hosting/restlet.nl?script=customscript_eaglei_fulfillment&deploy=1&from=&to=&location=101,102&groupBy=day|week|month|location|total
- Rows: orders shippedOnTime onTimeRate pickErrors unitsPicked errorsPer1000Units laborHours unitsPerLaborHour
curl -H "Authorization: NLAuth nlauth_account=MERIDIAN_SB1, nlauth_email=integration@meridiansupply.example, nlauth_signature=ns-meridian-pass, nlauth_role=3" "http://eapi.toadee.club/netsuite/app/site/hosting/restlet.nl?script=customscript_eaglei_fulfillment&deploy=1"