CARVIEW |
Select Language
HTTP/2 200
date: Sun, 12 Oct 2025 03:11:55 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
vary: Accept-Encoding
strict-transport-security: max-age=604800
strict-transport-security: max-age=31536000; includeSubDomains
x-content-type-options: nosniff
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
x-xss-protection: 1; mode=block
x-frame-options: SAMEORIGIN
x-frame-options: SAMEORIGIN
referrer-policy: no-referrer
referrer-policy: strict-origin-when-cross-origin
link: ; rel="https://api.w.org/"
link: ; rel="alternate"; title="JSON"; type="application/json"
link: ; rel=shortlink
fastcgi-cache: HIT
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=XyBOYFoFHApV%2BM7Kd9dp%2BOuxxKGyMoCaGnI6JE7ihaAwoAtBzrpBMOdR4kqKwvygX5kf%2Bykr1MFChXVMYwa9pnYtl0pXfuJb6PbVrrwY4WbIJTbv"}]}
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 98d3699cdd36b080-BLR
gform_webapi_authentication_required_ENDPOINT - Gravity Forms
gform_webapi_authentication_required_ENDPOINT
Description
The “gform_webapi_authentication_required_” plus ENDPOINT filter in Gravity Forms allows the overriding of authentication for all the endpoints of the Web API.
Usage
add_filter( 'gform_webapi_authentication_required_' . $endpoint, 'your_function_name' );
Parameters
- $authentication_required bool
Whether authentication is required for this endpoint.
Example
Force authentication for the POST forms/[ID]/submissions endpoint.
The following example forces the Gravity Forms Web API to authenticate the user before allowing the form to be POSTed.
add_filter( 'gform_webapi_authentication_required_post_forms_submissions', '__return_true' );
Placement
This code should be placed in the functions.php file of your active theme.
Source Code
This filter is located in GFWebAPI::handle_page_request() in includes/webapi/webapi.php