Add-on: API Connector
Adding API connections
In the GravityWP API Connector main settings page you can configure the connection settings. It is possible to add multiple APIs, manage authentication methods, and set custom headers for requests.
API Connector Feed settings
The Feed Settings allow you to configure how data is sent and received from external APIs using the GravityWP API Connector.
API Key Authentication in GravityWP API Connector
API Key authentication in GravityWP API Connector lets you store an API key once, choose whether it’s sent in a request header or as a query parameter, and reuse that connection across your API feeds. You set the exact parameter name required by the provider (such as x-api-key), then API Connector applies the key automatically whenever a feed runs.
Basic Authentication in GravityWP API Connector
Basic Authentication in GravityWP API Connector lets you authenticate API requests using a username and password stored in a reusable API connection. Once saved, you can select that connection in any API feed and run authenticated requests without re-entering credentials each time. For security, Basic Auth should be used over HTTPS because the credentials are only Base64-encoded, not encrypted.
Bearer Token Authentication in GravityWP API Connector
Bearer Token authentication in GravityWP API Connector lets you securely authenticate API requests by pasting an access token, without setting up an OAuth flow. Once saved as a connection, API feeds automatically send the token in the Authorization header (Bearer scheme) when running requests like GET, POST, PATCH, or DELETE.
OAuth 2.0 Client Credentials in GravityWP API Connector
OAuth 2.0 Client Credentials lets GravityWP API Connector authenticate server-to-server by exchanging a Client ID and Client Secret for an access token using a Token URL. It runs without a browser consent screen or redirect URL, making it ideal for machine-to-machine integrations where feeds need to request a token automatically during execution.
Tool: Parse the possible paths from a JSON API response
This tool allows you to parse JSON-formatted API responses and visualize all available data paths for use in the API connector feeds Target Field mapping.