SDK API Reference / RawAPIRequestOptions
Interface: RawAPIRequestOptions
Options for raw API requests
Properties
apiType?
optionalapiType?:APIType
API type to use (determines base URL) Default: 'td'
body?
optionalbody?:string|object
Request body as string or object Will be JSON stringified if object
headers?
optionalheaders?:Record<string,string>
Custom HTTP headers These will be merged with authentication headers Custom headers take precedence over default headers
includeHeaders?
optionalincludeHeaders?:boolean
Include HTTP response headers in result Default: false
method?
optionalmethod?:HTTPMethod
HTTP method (GET, POST, PUT, DELETE, PATCH) Default: GET