API Reference
The Sailup API is a REST API. You send JSON, you get JSON back, and the HTTP status code tells you whether the request worked. Every endpoint lives under the /v1 base path.
Getting Started
Base URL
Every request goes to this base URL followed by the endpoint's path. Paths end with a trailing slash, so it's /sms/, not /sms.
https://api.sailup.io/v1Authentication
Requests are authenticated with a project API key. Create and revoke keys under API keys in your project's dashboard. A key belongs to one project, and that's how the API knows which project a request is for. You never put a project ID in the URL.
Include your API key in the Authorization header as a Bearer token. Keys start with sailup_. A missing or revoked key gets a 401 Unauthorized.
Authorization: Bearer sailup_a1b2c3d4e5f6g7h8Pagination
List endpoints return results in a paginated envelope. Control the page with the page and page_size query parameters.
pageintegerPage number to return. Defaults to 1.
page_sizeintegerNumber of results per page. Defaults to 30, with a maximum of 1000.
count is the total number of records. next and previous are full URLs for the pages either side, or null at either end.
{
"count": 42,
"next": "https://api.sailup.io/v1/contacts/?page=2",
"previous": null,
"results": []
}Reference
Every endpoint, grouped by the resource it acts on.