Zapier api reference

Endpoint to create a Zapier subscription.

post

This is how a Zap (An automated Zapier workflow that connects Cantina to other apps that have Zapier integrations) makes a subscription request to Cantina to be notified (via webhook) of events.

The payload contains a target_url which is the URL used as the webhook.

See https://docs.zapier.com/platform/build/hook-trigger#subscribe

Access control rules

  • The requester is authenticated.

  • The requester must be an admin for the given repository.

Body
anyOptional
or
and
Responses
post
/api/v0/zapier/subscriptions

Endpoint to retrieve a Zapier subscription.

get

Access control rules

  • The requester is authenticated.

  • Non admin can retrieve only their subscription.

  • Admin can retrieve any subscription.

Path parameters
idstring Β· uuidRequired
Responses
200

A Zapier subscription

application/json
Responseall of
anyOptional
or
and
get
/api/v0/zapier/subscriptions/{id}

Endpoint to return sample data for the Zap editor, helping users test triggers and map fields before activating their Zap.

get

See https://docs.zapier.com/platform/build/hook-trigger#perform-list

Access control rules

  • The requester is authenticated.

Path parameters
event_kindstring Β· enumRequired

Kind of event

Possible values:
Responses
200

List of zapier sample events

application/json
get
/api/v0/zapier/subscriptions/events/{event_kind}/sample

Deletes a Zapier subscription.

delete

Access control rules

  • The requester is authenticated.

  • Non admin, can only delete thier own subscriptions.

  • Admin can delete any subscription.

Path parameters
idstring Β· uuidRequired
Responses
delete
/api/v0/zapier/subscriptions/{id}

No content

Last updated