5 min readUpdated Mar 2, 2026

REST API Fundamentals

Before building an integration, it helps to understand the core concepts behind REST APIs. If you're already comfortable with REST, skip to Finding API Documentation.


What Is a REST API?

A REST API (Representational State Transfer Application Programming Interface) is a standardized way for two systems to communicate over the internet. Think of it as a structured conversation:

  1. Your system (Vantage) sends a request — "Give me the current weather in London"
  2. The other system (the API) sends a response — a structured data package with the answer

Every REST API interaction follows this request → response pattern.


HTTP Methods

HTTP methods tell the API what you want to do with a resource. The API Builder supports four:

MethodPurposeReal-World AnalogyExample
GETRetrieve dataLooking up a contact in your phoneFetch a list of customers
POSTCreate new dataAdding a new contactCreate a new order
PUTUpdate existing dataEditing a contact's phone numberUpdate a customer's address
DELETERemove dataDeleting a contactRemove a cancelled order

Tip: Most integrations start with GET requests — pulling data into Vantage for analysis. You'll use GET far more often than the other methods.


URLs: Base URL + Path

Every API request goes to a specific URL, which has two parts:

https://api.example.com/v1 + /users/42 Base URL Path

Path parameters are dynamic parts of the path, wrapped in curly braces:

/users/{id} → /users/42 /orders/{orderId} → /orders/A-1001

When the integration runs, Vantage replaces {id} with the actual value you provide.


Authentication

Most APIs require proof that you're allowed to use them. The API Builder supports four authentication methods:

Auth TypeHow It WorksWhen to Use
API Key (Custom Header)Sends a key in a custom HTTP header (e.g., X-API-Key: abc123)When the API docs say to send a key in a specific header
Bearer TokenSends a token as Authorization: Bearer <token>The most common method for modern APIs (OAuth, JWT)
Basic AuthSends a username and password encoded in the Authorization headerOlder APIs or internal services
No AuthNo credentials sentPublic APIs with no access control

How do you know which to use? The API's documentation will tell you. Look for a section labeled "Authentication", "Authorization", or "Getting Started" — it will specify exactly what's required.

Why does the API Builder ask for auth type separately from credentials? Security. The type is part of the integration definition (shared structure), but the credentials (your actual API key or token) are stored separately with encryption. This means you can share an integration design across your team while credentials remain private.


Request Parameters

Parameters are extra information you send with a request. They can live in four different places:

LocationWhat It Looks LikeExampleWhen to Use
QueryAppended to the URL after ?GET /users?limit=10&page=2Filtering, pagination, sorting
PathEmbedded in the URL pathGET /users/{id}GET /users/42Identifying a specific resource
HeaderSent as an HTTP headerX-Custom-Header: valueAPI keys (some APIs), versioning, content negotiation
BodySent in the request payloadJSON object with the dataCreating or updating data (POST, PUT)

Tip: GET requests almost always use query and path parameters. POST and PUT requests typically send data in the body.


JSON Responses

APIs return data in JSON (JavaScript Object Notation) — a structured text format that both humans and machines can read:

json
{
  "name": "Acme Corp",
  "revenue": 1250000,
  "active": true,
  "address": {
    "city": "Austin",
    "state": "TX"
  },
  "products": [
    { "name": "Widget A", "price": 29.99 },
    { "name": "Widget B", "price": 49.99 }
  ]
}

Key concepts:

Understanding JSON structure is essential for the endpoint definition step, where you map response data to workflow outputs.


Next Steps