Skip to content

Interface: PrivateRequestInput ​

Everything a private-API request is built from, the session included.

Properties ​

PropertyModifierTypeDescription
domain?readonlystring-
encoding?readonlyBodyEncoding-
endpointreadonlystring-
headers?readonlyRecord<string, string>-
methodreadonlyHttpMethod-
now?readonlynumber-
payload?readonlyRecord<string, unknown>-
query?readonlyRecord<string, string>-
rawBody?readonlyUint8Array<ArrayBufferLike>Raw bytes to send as the body verbatim (for binary uploads). When set it bypasses signing/form encoding, and the caller supplies the Content-Type via headers.
rawUrl?readonlystringA fully-formed URL, used as-is instead of building one under /api/v1.
sessionreadonlySessionData-
withDefaultData?readonlyboolean-
withSignature?readonlyboolean-

MIT License. Not affiliated with, endorsed or sponsored by Meta or Instagram.