Unless useSinchAuth is false, keyId and keySecret (OAuth2, used
over any other credentials), or else either apiToken or applicationKey and applicationSecret
Send a DELETE request.
Absolute URL, without query parameters
Optionalparams: HttpCallParametersQuery string, headers and request-level options
Send a GET request.
Absolute URL, without query parameters
Optionalparams: HttpCallParametersQuery string, headers and request-level options
Send a PATCH request.
Absolute URL, without query parameters
Optionalbody: HttpBodyBody (e.g. a JSON string), if any: the content-type header is then required
Optionalparams: HttpCallParametersQuery string, headers and request-level options
Send a POST request.
Absolute URL, without query parameters
Optionalbody: HttpBodyBody (e.g. a JSON string), if any: the content-type header is then required
Optionalparams: HttpCallParametersQuery string, headers and request-level options
Send a POST request with a multipart/form-data body.
The content-type header (with its boundary) is set by the SDK.
Absolute URL, without query parameters
Form fields, as a form-data instance or a record. Streams are not supported.
Optionalparams: HttpCallParametersQuery string, headers and request-level options
Send a PUT request.
Absolute URL, without query parameters
Optionalbody: HttpBodyBody (e.g. a JSON string), if any: the content-type header is then required
Optionalparams: HttpCallParametersQuery string, headers and request-level options
Low-level HTTP client to call any Sinch API, including the endpoints not covered by the SDK.
The SDK takes care of the authentication (OAuth2 with
keyIdandkeySecretfirst, else the SMS API token or the application signing), the rate-limit retries, the timeout and theUser-Agentheader.useSinchAuth: false, on the client or on a call, sends the request without any authentication. The URL, query string, headers and body are sent as provided: no path or query encoding, no field renaming, no pagination.Any response with a status >= 400 is thrown as an ApiHttpError.