@illumio/api
v0.1.2
Published
Illumio SDK API on cloudflare workers
Downloads
1
Readme
npm install
npm run dev
npm run deploy
API
This is hosted by illumio team, but we use Finsweet's dev-client-illumio-marketo worker for development, once we are ready to deploy with illumio team, the script is shared manually with them :bulb: so that they can add it into their own worker.
Get all leads
This involves a call first to Marketo identity service to get the access token, then to Marketo API to get the leads based on the available munchkin id.
For more details:
https://developers.marketo.com/rest-api/authentication
https://developers.marketo.com/blog/get-a-visitors-cookie-id-and-then-query-associated-lead-data/
API Request
This package packages/sdk/marketo-meta
above consumes the API and returns the lead details based on on query params.
Currently supported query params are:
email
munchkinId
firstName
lastName
company
vanityCompanyName
Company's vanity name, e.g.illumio
companyLogo
Company's logo url