---
title: "Deploy Evolution API"
description: "WhatsApp REST API with Postgres, Redis and persistent sessions"
category: "Bots"
url: https://railway.com/deploy/evolution-api-9
---

# Deploy Evolution API

WhatsApp REST API with Postgres, Redis and persistent sessions

**[Deploy Evolution API on Railway](https://railway.com/template/evolution-api-9)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/evolution-api-9/manifest.json

- **Creator:** PEDRO FURTADO NETO's Projects
- **Category:** Bots
- **Total deploys:** 1

## Template content

### evoapicloud/evolution-api:latest

- **Image:** evoapicloud/evolution-api:latest
- **Public domain:** Yes

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:18

### Redis https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg

- **Image:** redis:8.2
- **Start command:** `/bin/sh -c "rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH"`

## Documentation

# Deploy and Host Evolution API on Railway

Evolution API is an open-source WhatsApp REST API built on Baileys. It lets you connect WhatsApp numbers by QR code and send and receive messages, media, buttons and lists through a simple HTTP API, with incoming events delivered by webhooks.

## About Hosting Evolution API

Hosting Evolution API requires a PostgreSQL database to store instances, contacts and chats, and a Redis cache for fast session handling. This template deploys the official `evoapicloud/evolution-api:latest` image with both services already wired through Railway's private network, a persistent volume for WhatsApp sessions (so numbers stay connected across redeploys) and a randomly generated global API key. A single deployment can manage multiple WhatsApp instances, each with its own token and webhook.

## Common Use Cases

- Integrating WhatsApp messaging into business applications, CRMs and SaaS products
- Building chatbots, automation flows and customer support workflows
- Sending notifications, reminders and transactional messages via WhatsApp

## Dependencies for Evolution API Hosting

- PostgreSQL database for instances, contacts and chats
- Redis for caching
- A WhatsApp account to connect via QR code

### Deployment Dependencies

- [Evolution API GitHub Repository](https://github.com/EvolutionAPI/evolution-api)
- [Evolution API Documentation](https://doc.evolution-api.com)
- [Docker Hub Image](https://hub.docker.com/r/evoapicloud/evolution-api)

## Why Deploy Evolution API on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Evolution API on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.

## Similar templates

- [Telegram JavaScript Bot](https://railway.com/deploy/5lRkWa) — A template for Telegram bot in JavaScript using grammY
- [Cobalt Tools [Updated Nov ’26]](https://railway.com/deploy/cobalt) — Cobalt Tools [Nov ’26] (Media Downloader, Converter & Automation) Self Host
- [Telegram Gateway](https://railway.com/deploy/railway-telegram-gateway) — Multi-bot Telegram webhook gateway with WebSocket event streaming

Open this page in a browser: https://railway.com/deploy/evolution-api-9
