Pull data from the Hoxhunt API
Overview
Get a list of call records using the Hoxhunt API.
HTTP Pull Listener configuration
In Falcon Onum, go to the Listeners area and click New Listener > HTTP Pull. Give a name to your new Listener and enter the following data:
Parameters
N/A
Secrets
You must define these credentials in Onum:
hoxhuntTokenwill reference your Hoxhunt token.
To do it, enter a Name for the secret and then click the Value field. Click New secret to create a new one:
Give the secret a Name.
Turn off the Expiration date option.
Click Add new value and paste the secret corresponding to the value.
Click Save.
You can now select the secret you just created in the corresponding field.
Learn more about secrets in Onum in this article.
Setup
After entering the required parameters and secrets, you can choose to manually enter the rest of configuration fields, or simply paste the given YAML.
Toggle ON the Config as YAML option to enable a free text field where you can paste the following YAML:
Temporal Window
Toggle ON to add a temporal window for events. This repeatedly shifts the time window over which data is collected.
Duration -
5mOffset -
5mFormat -
RFC3339
Collection Phase
Pagination Type* -
CursorCursor Selector* -
.data.incidents.pageInfo.endCursor
Initial Request
Response Type* -
JSONMethod* -
POSTURL* -
https://app.hoxhunt.com/graphql-externalHeaders
Name -
AuthorizationValue -
Authtoken ${secrets.hoxhuntToken}
Body Type* -
RawBody Content* -
Next Request
Response Type* -
JSONMethod* -
POSTURL* -
https://app.hoxhunt.com/graphql-externalHeaders
Name -
AuthorizationValue -
Authtoken ${secrets.hoxhuntToken}
Body Type* -
RawBody Content* -
Output
Select* -
.data.incidentsMap -
.Output Mode* -
element
When you're done, click Create labels to move on to the next step and define the required Labels if needed.
Last updated
Was this helpful?

