HTTPS Request Security
HTTPS Request Security
VoiceBase uses an advanced Web Application Firewall (WAF) to detect and reject
requests that are likely to pose a security risk.
In order to validate and filter out security threats as early as possible,
VoiceBase has additional requirements for HTTPS requests. Requiring clients to
follow these requirements allows us to monitor, mitigate and response to
security threats, keeping the system secure for all legitimate users.
Sending requests to VoiceBase that do not follow these requirements can result
in suspension of your credentials and/or blocking of your traffic.
This page uses MUST, MUST NOT, SHOULD, and SHOULD NOT as defined in RFC 2119.
All requests
The following requirements apply to all requests, regardless of type:
- All API requests to VoiceBase MUST contain a valid
Authorizationheader, with a
valid Scheme. The only supported scheme isBearer(OAuth Bearer tokens).
GET requests
The following requirements apply to GET requests:
GETrequests MUST NOT contain a body, expect when the body is a query string.GETrequests SHOULD include anAcceptheader that includes the type
returned by the API as acceptable (most APIs returnapplication/json).
Omitting the Accept header is interpreted asAccept: */*, but this is not
recommended.
PUT requests
The following requirements apply to PUT requests:
PUTrequests MUST specify theContent-Typeof the bodyPUTrequests MUST specify theContent-Lengthof the bodyPUTrequest type size MUST match the specifiedContent-TypePUTrequest body size MUST match the specifiedContent-LengthPUTrequests over 1MB in size SHOULD use Chunked-Transfer encoding
and 100-Continue
API-Specific Details
All currently available PUT APIs support application/json as the required
Content-Type.
POST requests
The following requirements apply to POST requests:
POSTrequests MUST specify theContent-Typeof the bodyPOSTrequests MUST specify theContent-Lengthof the bodyPOSTrequest type size MUST match the specifiedContent-TypePOSTrequest body size MUST match the specifiedContent-Length,
unless Chunked-Transfer is usedPOSTrequests with Chunked-Transfer encoding MUST specify theContent-Lengthof each chunkPOSTrequests over 1MB in size SHOULD use Chunked-Transfer encoding
and 100-Continue
API-Specific Details
Except for multi-part POST APIs specified below, all currently available
POST APIs support application/json as the required Content-Type.
Multi-part POST requests
The following additional requirements apply to multi-part POST requests:
- Attachment names MUST be unique
- Attachments MUST specify a
Content-TypeandContent-Length - Attachment length MUST match the specified
Content-Length - Attachment type MUST match the specified
Content-Type
Currently available Multi-part POST APIs are: /media and /media/{mediaId}.
These APIs support multipart/form-data as the required Content-Type.
DELETE requests
The following requirements apply to DELETE requests:
DELETErequests MUST NOT contain a body, expect when the body is a query string.DELETErequests SHOULD include anAcceptheader that includes the type
returned by the API as acceptable (most APIs returnapplication/json).
Omitting theAcceptheader is interpreted asAccept: */*, but this is not
recommended.
TLS Security
Requests must use TLS v1.2 protocol. We continually update our TLS policies to
maintain a grade of A- of better from SSL Labs.
Requests that specify weaker TLS security are rejected.
Updated over 4 years ago
