List ePCR attachments by Event ID
curl --request GET \
--url https://app.govworx.net/api/v1/external/mcp/resources/epcr-attachments/{eventId}import requests
url = "https://app.govworx.net/api/v1/external/mcp/resources/epcr-attachments/{eventId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.govworx.net/api/v1/external/mcp/resources/epcr-attachments/{eventId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.govworx.net/api/v1/external/mcp/resources/epcr-attachments/{eventId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.govworx.net/api/v1/external/mcp/resources/epcr-attachments/{eventId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.govworx.net/api/v1/external/mcp/resources/epcr-attachments/{eventId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.govworx.net/api/v1/external/mcp/resources/epcr-attachments/{eventId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"id": 123,
"epcrRecordId": 123,
"fileObjectId": 123,
"filename": "<string>",
"contentType": "<string>",
"documentType": "<string>",
"sizeBytes": 123,
"signedUrl": "<string>",
"expiresInSeconds": 123
}
]MCP Resources
List ePCR attachments by Event ID
Fetch ePCR attachment metadata and short-lived signed URLs for an event. Token must have ‘Browse Events’ or ‘Manage Events’ permission.
GET
/
api
/
v1
/
external
/
mcp
/
resources
/
epcr-attachments
/
{eventId}
List ePCR attachments by Event ID
curl --request GET \
--url https://app.govworx.net/api/v1/external/mcp/resources/epcr-attachments/{eventId}import requests
url = "https://app.govworx.net/api/v1/external/mcp/resources/epcr-attachments/{eventId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.govworx.net/api/v1/external/mcp/resources/epcr-attachments/{eventId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.govworx.net/api/v1/external/mcp/resources/epcr-attachments/{eventId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.govworx.net/api/v1/external/mcp/resources/epcr-attachments/{eventId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.govworx.net/api/v1/external/mcp/resources/epcr-attachments/{eventId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.govworx.net/api/v1/external/mcp/resources/epcr-attachments/{eventId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"id": 123,
"epcrRecordId": 123,
"fileObjectId": 123,
"filename": "<string>",
"contentType": "<string>",
"documentType": "<string>",
"sizeBytes": 123,
"signedUrl": "<string>",
"expiresInSeconds": 123
}
]⌘I

