Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Evolution API

Schemesevolution://, evolutions://
Cargo featureservice-evolution
Servicehttps://github.com/EvolutionAPI/evolution-api
Body formatsmarkdown (first is the default)
Attachmentsno
Title lengthno title (merged into the body)
Body length32,768 characters
Body linesunlimited
Request throttlenone
Vendor URLs acceptedno

URL formats

{schema}://{apikey}@{host}/{instance}/{targets}
{schema}://{apikey}@{host}:{port}/{instance}/{targets}

{schema} is one of evolution://, evolutions://.

URL tokens

TokenMeaningTypeRequiredDefaultNotes
{apikey}API Keystringyessecret
{host}Hostnamestringyes
{instance}Instance Namestringyes
{port}Portint, 1 to 65535no
{target_phone}Target Phone Nostringnoprefix +; must match ^[0-9\s)(+-]+$
{targets}Targetslistnoany of target_phone; separated by /

Query parameters

ParameterMeaningTypeDefaultNotes
toTargetslistsets {targets}

The common URL parameters (format, overflow, verify, redirect, cto, rto, retry, wait, store, tag, tz, user, password, port, optional, emojis) apply as well.

Examples

Accepted URLs (tokens are fake):

evolution://myapikey@hostname/myinstance/5511999999999
evolutions://myapikey@hostname/myinstance/5511999999999
evolution://myapikey@hostname/myinstance/5511999999999/5521888888888
evolution://myapikey@hostname/myinstance/5511999999999/bad/+1 (555) 123-4567
evolution://myapikey@hostname/myinstance?to=5511999999999,5521888888888

Rejected URLs:

evolution://
evolution://:@/
evolution://hostname/myinstance/5511999999999
evolution://myapikey@hostname/5511999999999

Send one from the command line:

mercurio -t 'Backup' -b 'Finished in 42s' 'evolution://myapikey@hostname/myinstance/5511999999999'

Notes

Evolution API (evolution://, evolutions://): WhatsApp messages through an Evolution API server.