- Client website (bundle.authData.website_url)
- POST
- content-type: application/x-www-form-urlencoded
- accept: application/json
- Content type: application/x-www-form-urlencoded
- Must contains
api_key
parameter for authentication (bundle.authData.api_key) - Must contains
action
parameter (See Actions Section below)
- 200 for success.
- 401 for unauthorized.
- 422 for unprocessable entity.
- other 4xx.
- Content type: application/json
- json response contains:
success
: booleandata
: array|object
Used to test the authentication (authentication.test).
- POST {bundle.authData.website_url}
- headers
content-type: application/x-www-form-urlencoded
accept: application/json
- body:
api_key={bundle.authData.api_key}&action=test_authentication
- status: 200
- body:
{
success: true,
body: {
"message": "Successful authentication."
}
}
- status: 401
- body:
{
success: false,
body: {
"message": "Invalid api key."
}
}
Used for new form entry trigger subscription.
- POST {bundle.authData.website_url}
- headers
content-type: application/x-www-form-urlencoded
accept: application/json
- body:
api_key={bundle.authData.api_key}&action=subscribe&form_id=1&zap_id=subscription:xxxxxxxx&zap_name=&hook_url=https://hooks.zapier.com/hooks/standard/xxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/
Used for cancelling new form entry trigger subscription.
- POST {bundle.authData.website_url}
- headers
content-type: application/x-www-form-urlencoded
accept: application/json
- body:
api_key={bundle.authData.api_key}&action=unsubscribe&form_id=1&zap_id=subscription:xxxxxxxx
Used for polling available forms.
- POST {bundle.authData.website_url}
- headers
content-type: application/x-www-form-urlencoded
accept: application/json
- body:
api_key={bundle.authData.api_key}&action=get_forms
Used for getting entry samples.
- POST {bundle.authData.website_url}
- headers
content-type: application/x-www-form-urlencoded
accept: application/json
- body:
api_key={bundle.authData.api_key}&action=get_entries&form_id=1
Used for getting form fields.
- POST {bundle.authData.website_url}
- headers
content-type: application/x-www-form-urlencoded
accept: application/json
- body:
api_key={bundle.authData.api_key}&action=get_fields&form_id=1