---
title: "API design guide"
description: "Core principles for designing REST APIs at SCOR."
url: "https://portal.apigtw-ne-sail-dev.sf.scor.fr/readme-guidelines/api-design-guide"
image: "https://portal.apigtw-ne-sail-dev.sf.scor.fr/_og/d/c_Ocean.takumi,title_API+design+guide,description_Core+principles+for+designing+REST+APIs+at+SCOR.,props_eyJ0aGVtZSI6eyJtb2RlIjoibGlnaHQiLCJjb2xvcnMiOnsicHJpbWFyeSI6IiMwMDgwQTkifX19,p_Ii9yZWFkbWUtZ3VpZGVsaW5lcy9hcGktZGVzaWduLWd1aWRlIg,s_1uU9iKs067IRxgrE.png"
---

## API design guide

Core principles for designing REST APIs at SCOR.

[README & Guidelines](https://portal.apigtw-ne-sail-dev.sf.scor.fr/readme-guidelines) / API design guide

### [Back to basics…](#back-to-basics)

-   **REST API** = a type of Application Programming Interface (API) that enables systems to communicate with each other through HTTP protocol
-   **Essential contract concept** to make the communication clear and efficient through the definition of rules around endpoints, data format and setup, communication protocol, authorization, and error management (response codes).
-   4 main actions to access and manipulate data: `GET` to read, `POST` to create, `PUT` to update, `DELETE` to suppress.
-   **API design** as a major prerequisite to make an API a success.
    -   Think about the API before coding it
    -   Ensure effective use before targeting possible reuse
    -   Keep it simple, client-oriented and functional to make it available for anyone (no more technical terminology)
    -   Make an API client-oriented is a priority #1, make it secure and unbreakable (HTTPS & OAuth2) is a priority #1 as well.
-   **Naming rules:** see [Naming convention & base path](https://portal.apigtw-ne-sail-dev.sf.scor.fr/readme-guidelines/api-design-guide/naming-convention).
-   **More detailed information:**
    
    -   [20240701\_SAIL\_API\_Introduction\_v2\_FINAL.pptx](https://scorglobal.sharepoint.com/:p:/r/sites/SAIL2/Shared%20Documents/API%20Management/Communication/20240701_SAIL_API_Introduction_v2_FINAL.pptx?d=w37d4b16d4da449af80ebe1c37656c74a&csf=1&web=1&e=ZGlQij)
    -   [20240716\_SAIL\_API\_Detailed technical guidelines\_v1\_FINAL.pptx](https://scorglobal.sharepoint.com/:p:/r/sites/SAIL2/Shared%20Documents/API%20Management/APIM/Documentation/API%20Guidelines/20240716_SAIL_API_Detailed%20technical%20guidelines_v1_FINAL.pptx?d=wf742217fab9c4424b08b1b11d2e65774&csf=1&web=1&e=eRoT46)
    -   [20241009\_SAIL\_API first principles & guidelines\_General summary\_FINAL.pdf](https://scorglobal.sharepoint.com/:b:/r/sites/SAIL2/Shared%20Documents/API%20Management/Communication/20241009_SAIL_API%20first%20principles%20%26%20guidelines_General%20summary_FINAL.pdf?csf=1&web=1&e=6fvK8r)
    
      
    (SharePoint, requires access) - contact the [platform team](https://portal.apigtw-ne-sail-dev.sf.scor.fr/readme-guidelines/contacts) if you can't reach them.

### [Implementation approach](#implementation-approach)

-   Any new API to be developed in the future must stick to the guidelines (MUST at least), whatever the type of API:
    -   Intra-application back to front
    -   Inter-applications internal and external
-   No request to rework all legacy APIs following the new guidelines, except in case of any change/evolution in the future that would require rewriting - e.g. opening an intra-application API to another application, switching from SOAP to REST for security purposes, etc.

### [Resources](#resources)

The full set of guidelines is available from the [platform team](https://portal.apigtw-ne-sail-dev.sf.scor.fr/readme-guidelines/contacts).

### [In this section](#in-this-section)

[](https://portal.apigtw-ne-sail-dev.sf.scor.fr/readme-guidelines/api-design-guide/naming-convention)

### [](https://portal.apigtw-ne-sail-dev.sf.scor.fr/readme-guidelines/api-design-guide/naming-convention)[Naming convention & base path](#naming-convention-base-path)

The mandatory naming pattern for every API - source, business domain, functional object, and more.