Zapier REST Hooks API
Endpoint documentation for Zapier integration
Documentacion de endpoints para integracion con Zapier
All endpoints require authentication using ID Token (not Access Token).
The token must be sent in the header Authorization: Bearer <id_token>
Todos los endpoints requieren autenticacion mediante ID Token (no Access Token).
El token debe enviarse en el header Authorization: Bearer <id_token>
Endpoints
- GET /auth/test - Authentication Validation /auth/test - Validacion de autenticacion
- POST /hooks/subscribe - Create Subscription /hooks/subscribe - Crear suscripcion
- POST /hooks/unsubscribe - Delete Subscription /hooks/unsubscribe - Eliminar suscripcion
- GET /workflows - List Workflows /workflows - Listar workflows
- GET /workflow-steps/{workflow_id} - Get Workflow Steps /workflow-steps/{workflow_id} - Obtener steps de workflow
Validates the JWT token and returns the user's company_id. Used by Zapier to verify that credentials are valid.
Valida el token JWT y retorna el company_id del usuario. Usado por Zapier para verificar que las credenciales son validas.
Headers
| Header | ValueValor | RequiredRequerido |
|---|---|---|
Authorization |
Bearer <id_token> | YesSi |
Response 200
ErrorsErrores
Creates webhook subscriptions for Zapier. Automatically called by Zapier when a user activates a Zap that uses your trigger.
Crea suscripciones de webhook para Zapier. Llamado automaticamente por Zapier cuando un usuario activa un Zap que usa tu trigger.
Headers
| Header | ValueValor | RequiredRequerido |
|---|---|---|
Authorization |
Bearer <id_token> | YesSi |
Content-Type |
application/json | YesSi |
Request Body
| FieldCampo | TypeTipo | RequiredRequerido | DescriptionDescripcion |
|---|---|---|---|
workflow_id |
UUID | YesSi | Workflow ID in the systemID del workflow en el sistema |
node_ids |
array[string] | NoNo | List of "Send to Zapier" node IDsLista de IDs de nodos "Send to Zapier" |
target |
string | YesSi | Webhook URL provided by ZapierURL del webhook proporcionado por Zapier |
Example RequestEjemplo Request
Response 200
The zapier_workflow_id is generated by the system. Zapier will store it
in subscribeData and send it back on unsubscribe.
If multiple node_ids are sent, one subscription is created per node,
all sharing the same zapier_workflow_id.
El zapier_workflow_id es generado por el sistema. Zapier lo guardara
en subscribeData y lo enviara de vuelta en el unsubscribe.
Si se envian multiples node_ids, se crea una suscripcion por cada uno,
todas compartiendo el mismo zapier_workflow_id.
ErrorsErrores
Deletes webhook subscriptions. Automatically called by Zapier when the user deactivates or deletes a Zap.
Elimina suscripciones de webhook. Llamado automaticamente por Zapier cuando el usuario desactiva o elimina un Zap.
Headers
| Header | ValueValor | RequiredRequerido |
|---|---|---|
Authorization |
Bearer <id_token> | YesSi |
Content-Type |
application/json | YesSi |
Request Body
| FieldCampo | TypeTipo | RequiredRequerido | DescriptionDescripcion |
|---|---|---|---|
zapier_workflow_id |
string | YesSi | ID returned from /subscribeID retornado en /subscribe |
Example RequestEjemplo Request
Response 200
Does not throw an error if there are no subscriptions to delete (returns deleted: 0).
Deletes all subscriptions matching the zapier_workflow_id
in any of the user's companies.
No genera error si no hay suscripciones que eliminar (retorna deleted: 0).
Elimina todas las suscripciones que coincidan con el zapier_workflow_id
en cualquiera de las companies del usuario.
Gets the list of workflows the user has access to. Returns only the ID and name of each workflow.
Obtiene la lista de workflows a los que el usuario tiene acceso. Retorna solo ID y nombre de cada workflow.
Headers
| Header | ValueValor | RequiredRequerido |
|---|---|---|
Authorization |
Bearer <id_token> | YesSi |
Response 200
ErrorsErrores
Gets the steps (nodes) of a specific workflow, with option to filter by type and subtype.
Obtiene los steps (nodos) de un workflow especifico, con opcion de filtrar por tipo y subtipo.
Headers
| Header | ValueValor | RequiredRequerido |
|---|---|---|
Authorization |
Bearer <id_token> | YesSi |
Path Parameters
| ParameterParametro | TypeTipo | RequiredRequerido | DescriptionDescripcion |
|---|---|---|---|
workflow_id |
UUID | YesSi | Workflow IDID del workflow |
Query Parameters
| ParameterParametro | TypeTipo | RequiredRequerido | DescriptionDescripcion |
|---|---|---|---|
step_type |
string | NoNo | Filter by type (e.g., "DESTINATION")Filtrar por tipo (ej: "DESTINATION") |
step_sub_type |
string | NoNo | Filter by subtype (e.g., "zapier")Filtrar por subtipo (ej: "zapier") |
Example RequestEjemplo Request
Response 200
If step_type is specified, only nodes with that type are returned.
If step_sub_type is specified, only nodes that have that subtype are returned.
If the node doesn't have a sub_type field and the filter was specified, it's omitted.
Returns empty array if there are no matches.
Si step_type se especifica, solo se retornan nodos con ese tipo.
Si step_sub_type se especifica, solo se retornan nodos que tengan ese subtipo.
Si el nodo no tiene campo sub_type y se especifico el filtro, se omite.
Retorna array vacio si no hay coincidencias.