What every request header should include

All FWS API calls must contain the following in the request header:

 

Field Type Description
public-key string Your public key for the FWS API
private-key string Your private key for the FWS API
Content-Type string The content type of your request

 

The public and private keys will authenticate your company integration with the server.  The content type will tell us what format the raw post data you are sending to us is in, as well as what format the response should be in.  If no content type is sent, we will assume application/json.  Valid content types are:

  • application/json
  • application/xml.