Content
Read several published content passages
Read up to five exact search or continuation references in one bounded request.
/api/v1/content/get_many- Authentication
- OAuth 2.0 access token
- Required scopes
- See authentication requirements
- Idempotency key
- Not required
- Rate-limit cost
- 5 units
How to use this endpoint
Send references with one to five unique corpus/id objects. MCP arguments use input.references. Invalid or duplicate inputs reject the request.
items preserves the requested order among available references; missing lists unavailable references in request order. Each item uses the same bounded publication and citation contract as content/get.
Live schedule reads are grouped by tax year and refreshed on every call. A dependency failure fails the whole request; it must not be reported as missing or as a successful partial response.
Authentication is required; no account-data scope or idempotency key is needed. Batch read weight is 5. Staff and assistant-only content remain excluded.
curl --request POST 'https://api.efilemagic.com/api/v1/content/get_many' \
--header 'Authorization: Bearer <access-token>' \
--header 'Content-Type: application/json' \
--data-binary @request.jsonReplace placeholders with your own values. Use the API resource origin provided for your environment.
Create request.json using the documented fields. Field descriptions are not sample values.
Request fields
1 fieldsreferencesRequiredarray<object>
Minimum items: 1. Maximum items: 5. Items must be unique.
Nested fields (2)
corpusRequiredstring
Allowed values: "knowledge_base", "documentation", "blog", "due_dates", "videos".
idRequiredstring
Copy an exact returned source or continuation ID; not a URL. Minimum characters: 1. Maximum characters: 200. Pattern: ^[A-Za-z0-9_.:@-]+$
Headers (1)
AuthorizationRequired- OAuth Bearer token with current resource authorization.
curl --request POST 'https://api.efilemagic.com/api/v1/content/get_many' \
--header 'Authorization: Bearer <access-token>' \
--header 'Content-Type: application/json' \
--data-binary @request.jsonReplace placeholders with your own values. Use the API resource origin provided for your environment.
Create request.json using the documented fields. Field descriptions are not sample values.
On success, data contains the fields below. meta includes api_version and request_id. Keep request_id when reporting a problem.
Response fields
2 fieldsitemsAlways returnedarray<object>
Maximum items: 5.
Nested fields (15)
contentAlways returnedstring
At most 6000 UTF-8 bytes. Minimum characters: 1. Maximum characters: 6000.
deadline_detailsAlways returnedobject | null
Unknown fields are rejected.
Nested fields (6)
efile_due_atAlways returnedstring | null
Type: string | null.
irs_efile_due_dateAlways returnedstring | null
Type: string | null.
irs_efile_noteAlways returnedstring | null
Type: string | null.
irs_recipient_due_dateAlways returnedstring | null
Type: string | null.
irs_recipient_noteAlways returnedstring | null
Type: string | null.
print_mail_due_atAlways returnedstring | null
Type: string | null.
efile_due_dateAlways returnedstring | null
Type: string | null.
form_idAlways returnedstring | null
Type: string | null.
guidanceAlways returnedstring
Type: string.
hrefAlways returnedstring
Type: string.
nextAlways returnedobject | null
Unknown fields are rejected.
Nested fields (2)
corpusAlways returnedstring
Allowed values: "knowledge_base", "documentation", "blog", "due_dates", "videos".
idAlways returnedstring
Copy an exact returned source or continuation ID; not a URL. Minimum characters: 1. Maximum characters: 200. Pattern: ^[A-Za-z0-9_.:@-]+$
previousAlways returnedobject | null
Unknown fields are rejected.
Nested fields (2)
corpusAlways returnedstring
Allowed values: "knowledge_base", "documentation", "blog", "due_dates", "videos".
idAlways returnedstring
Copy an exact returned source or continuation ID; not a URL. Minimum characters: 1. Maximum characters: 200. Pattern: ^[A-Za-z0-9_.:@-]+$
print_mail_due_dateAlways returnedstring | null
Type: string | null.
publicationAlways returnedobject | null
Unknown fields are rejected.
Nested fields (4)
published_atAlways returnedstring | null
Type: string | null.
source_reviewed_atAlways returnedstring | null
Type: string | null.
tax_yearAlways returnedinteger | null
Type: integer | null.
updated_atAlways returnedstring | null
Type: string | null.
referenceAlways returnedobject
Unknown fields are rejected.
Nested fields (2)
corpusAlways returnedstring
Allowed values: "knowledge_base", "documentation", "blog", "due_dates", "videos".
idAlways returnedstring
Copy an exact returned source or continuation ID; not a URL. Minimum characters: 1. Maximum characters: 200. Pattern: ^[A-Za-z0-9_.:@-]+$
retrieved_atAlways returnedstring | null
Type: string | null.
sourceAlways returnedstring
Allowed values: "support_article", "user_guide", "api_reference", "blog_article", "service_due_date", "video_transcript".
tax_yearAlways returnedinteger | null
Type: integer | null.
titleAlways returnedstring
Maximum characters: 240.
missingAlways returnedarray<object>
Maximum items: 5.
Nested fields (2)
corpusAlways returnedstring
Allowed values: "knowledge_base", "documentation", "blog", "due_dates", "videos".
idAlways returnedstring
Copy an exact returned source or continuation ID; not a URL. Minimum characters: 1. Maximum characters: 200. Pattern: ^[A-Za-z0-9_.:@-]+$
{
"data": {
"items": "array<object>",
"missing": "array<object>"
},
"meta": {
"api_version": "v1",
"request_id": "string"
}
}Successful response structure. This outline shows field types, not a response to copy. Expand Response fields for nested properties and optional values.
Errors to handle
Errors use {error: {code, message}, meta}. Check the code and message before retrying. Authentication, validation and availability errors can occur before the operation runs.
- 400
invalid_request - Check required fields, selectors and supported values.
- 401
invalid_token - Obtain a valid OAuth token for this resource. Check its expiry and current authorization.
- 403
insufficient_scope - Request the listed scopes through the application's authorization flow.
- 403
forbidden - Check the connection's permissions and allowed filers. More scopes alone may not grant access.
- 404
not_found - Check the resource ID and its owning filer. Batch reads report missing IDs as documented.
- 422
validation_failed - Correct the reported validation issues before retrying.
- 429
rate_limited - Wait for Retry-After before retrying. Avoid concurrent retries.
- 500
internal_error - Retain request_id; retry with bounded backoff.
- 503
service_unavailable - Retry with bounded backoff.