E-File Magic

W-9 requests

Upload a W-9 request list

Create a W-9 import and get upload instructions for its spreadsheet.

POST
/api/v1/w9/imports/create_upload
Authentication
OAuth 2.0 access token
Required scopes
w9.write
Idempotency key
Required
Rate-limit cost
5 units

Request fields

8 fields
content_typeRequiredstring

Media type of the source file. Minimum characters: 1. Maximum characters: 128.

file_nameRequiredstring

Name of the source file being uploaded. Minimum characters: 1. Maximum characters: 180.

issuer_idRequiredstring (uuid)

ID of the sender issuing the W-9 request.

size_bytesRequiredinteger

Size of the source file in bytes. Minimum: 1. Maximum: 26214400.

dispatch_immediatelyOptionalboolean

Whether to dispatch created W-9 requests as part of this workflow. Default: false.

notify_emailOptionalstring (email) | null

Maximum characters: 254.

rows_per_chunkOptionalinteger | null

Minimum: 1. Maximum: 1000.

sha256Optionalstring | null

SHA-256 digest of the source file. Pattern: ^[a-f0-9]{64}$

Headers (3)
AuthorizationRequired
OAuth RS256 access token issued for the EFM API resource. Interactive EFM session tokens are rejected.
Idempotency-KeyRequired
Opaque caller-generated key bound to resolved tenant, connection, actor, exact route, and request. Capability retries revalidate the durable target and mint a fresh URL.
DPoPConditional / optional
Required when the application, connection, or credential is proof-of-possession bound.

Complete request schema: ApiV1W9ImportCreateUploadRequest

cURL request
curl --request POST 'https://api.efilemagic.com/api/v1/w9/imports/create_upload' \
  --header 'Authorization: Bearer <access-token>' \
  --header 'Idempotency-Key: <unique-operation-key>' \
  --header 'Content-Type: application/json' \
  --data-binary @request.json

Replace 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.

Retrying a request? Keep the same idempotency key and body after an uncertain result. A different key can repeat the action.