Skip to content
Tech Bits
All articles

What is an endpoint?

An endpoint is an address your app sends a request to. In a web API, different addresses let you reach different data or actions.

Your form has Alex’s name and email. Your assistant says it needs an endpoint before it can send them anywhere.

In our fictional signup service, the address is https://api.example.com/signups. The first part, api.example.com, identifies the server to contact. The path, /signups, identifies what to reach there.

Your app sends Alex’s details to that address using POST, an HTTP method for submitting data. In this example, the service creates a signup. A GET request to the same address could retrieve the signup list instead.

So when your assistant asks for an endpoint, find the address and the method in the API’s documentation. Together, they describe the request you intend to make.

POSThttps://api.example.com/signups

/signups identifies the resource or capability on that server.

In this fictional API, POST /signups creates a signup. The method and address work together.

Knowing the address does not grant access. The service may still require proof that your app has permission to use it.

Sources

Reviewed