All the key’s and token are added inside HTTP headers to provide more security. Each and every request to Groundhogg API must contain header fields Gh-token and Gh-public-key. Gh-token contains public token generated to access API and Gh-public-key is a public key generated to access API.

For example, the following URL returns a list of contacts from your website. make sure to add required headers before making this request.

Before performing any operation API key checks for the user’s roles. thus if a user does not have authorization to perform operation API will discard the request.

Error – 501 Method Not Implemented

Some servers and clients cannot correctly process some HTTP methods that the API makes use of. For example, all deletion requests on resources use the DELETE method, but some clients do not provide the ability to send this method.

To ensure compatibility with these servers and clients, the API supports a method override. This can be via a _method parameter. SO you can make a POST request to act like DELETE by making the following request.
Was this article helpful to you? Yes No

How can we help?