---
source_url: https://www.pubnub.com/docs/admin-api/routes-introduction
title: Routes Introduction
description: Routes Introduction
---

# Routes Introduction

> For AI agents: documentation index at https://www.pubnub.com/llms-full.txt

## Routes

This group of endpoints allows you to manage routes in your PubNub account.

Routes establish the complete data flow by connecting Route Inputs (event listeners) to Routers (actions). They define the path that messages and events follow through the Events & Actions system, from the moment they're received to when they're delivered to their destination.

**Key Features:**

* Connect event listeners to actions
* Support for multiple creation patterns (existing resources, new resources, or combinations)
* Versioned through revisions - each route maintains a history of its configurations
* Filter by subscribe key and account for multi-tenant environments
* Full lifecycle management (create, retrieve, delete)

**Use Cases:**

* Route real-time chat messages to a webhook endpoint
* Send presence events to AWS Kinesis for analytics
* Forward push notification events to multiple destinations
* Create event-driven architectures by connecting PubNub events to external systems

## [GET routesGetAll](https://www.pubnub.com/docs/admin-api/routes-get-all.md)

Get information about all previously created routes (connections between routers and route inputs).

## [POST routeCreate](https://www.pubnub.com/docs/admin-api/route-create.md)

Create a connection between a router ([action](https://www.pubnub.com/docs/serverless/events-and-actions/overview#actions)) and a route input ([event listener](https://www.pubnub.com/docs/serverless/events-and-actions/overview#event-listeners)) to set up the whole message (event) flow (input-to-output).

## [GET routeGet](https://www.pubnub.com/docs/admin-api/route-get.md)

Get all information about a single route (connection between a router and a route input).

## [DELETE routeDelete](https://www.pubnub.com/docs/admin-api/route-delete.md)

Delete all information available for a single route (connection between a router and a route input).
