Naming Conventions
Last updated
What is Naming Conventions?
Naming conventions are the rules you follow to keep your API's URLs, parameters, and field names consistent and predictable. This includes decisions like using plural nouns for collections (/users not /user), lowercase kebab-case for URLs, camelCase or snake_case for JSON fields, and avoiding verbs in resource paths. Consistent naming reduces friction for developers consuming your API and signals that the API was designed deliberately rather than assembled ad hoc.
Free resources to learn Naming Conventions
More in stage 3: Building JSON / RESTful APIs
Naming Conventions: common questions
Can I learn Naming Conventions in Hindi?
This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain Naming Conventions in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.
Is this Naming Conventions tutorial for beginners?
It is lesson 25 of 97 in the free API Design roadmap, in stage 3, Building JSON / RESTful APIs. If you are new to API Design, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.