Index Ai Academy
Glossary · Phase 8 · APIs

Path parameter

Also written: path parameters

A placeholder in a URL pattern, like {id} in /campaigns/{id}, that captures part of the path.

A pattern can hold path parameters in braces, which work like blanks on a form. /campaigns/{id} matches /campaigns/cmp_103 and captures id = "cmp_103".

Try it now

Everything else in web frameworks is built around this loop.

Learn it properly

Build an API server from scratch · Routing, handlers and responses, with no framework. About 40 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write