Get Inquiries

API endpoint to manage inquiries and incoming requests.

Get Inquiries

GET /api/v1/inquiries/:uuid?

Retrieve a list of inquiries from your Monolith database.

Path Parameters

NameTypeDescription

uuid

String

Unique value that identifies a specific inquiry.

Query Parameters

NameTypeDescription

uuid

String

Unique value that identifies a specific inquiry. This value will take precedence over the UUID URL param if passed.

inquiry_id

String

This is a unique integer value that identifies a specific inquiry. \nThis serves the same purpose as the uuid value.

status

String

This is the status of an inquiry.

request_id

Integer

This is the request_id of the inquiry. This value is usually associated with a Relay request, but can also be associated with external request systems if utilized via API when creating an inquiry.

Headers

NameTypeDescription

x-api-key*

String

Monolith API Key

Get Inquiries Examples

Using uuid as URL path param:

# Using uuid as URL path param

import requests

# set your Monolith API key into a variable
api_key = "qucuqwqg5q3rve28ehfh" # this is a fake API key

# Set the api key in the header of the request
headers = {
	"x-api-key": api_key
}

uuid = "asd8hasdgadc67w5we7wd"

# Use the appropriate API endpoint for your region
api_url = f"https://monolith-app.monolithforensics.com/api/v1/inquiries/" + uuid

# Execute the GET request
response = requests.get(api_url, headers=headers)

# print the JSON response to console
print(response.json())

Using Query Params:

import requests

# set your Monolith API key into a variable
api_key = "qucuqwqg5q3rve28ehfh" # this is a fake API key

# Set the api key in the header of the request
headers = {
	"x-api-key": api_key
}

uuid = "asd8hasdgadc67w5we7wd"

# Use the appropriate API endpoint for your region
api_url = f"https://monolith-app.monolithforensics.com/api/v1/inquiries?uuid=" + uuid

# Execute the GET request
response = requests.get(api_url, headers=headers)

# print the JSON response to console
print(response.json())

Last updated