Skip to main content

Quickstart Guide

Get up and running with the VinMake API in just a few steps.
Every example on this page runs against vinmake-erp.onrender.com, the production backend that serves app.cutmake.ai. There is currently no public staging environment. The create and update steps below write real records — use a test client or style, and clean up after yourself.

Prerequisites

Before you begin, make sure you have:
  • A VinMake account (contact thai@vinmake.com if you don’t have one)
  • Your email and password
  • A terminal or API client (we’ll use curl examples)

Step 1: Authenticate

First, obtain an access token by logging in:
Use username field for your email address (this is OAuth2 convention).
Response:
Save the access_token — you’ll need it for all subsequent requests.

Step 2: Make Your First API Call

Now use the token to fetch the list of clients:
Response:
Success! You’ve made your first authenticated API call.

Step 3: Explore Other Endpoints

Try fetching materials:
Or get production orders:

Common Use Cases

List Resources

Most endpoints support GET to list all items:

Get Single Item

Access specific items by ID:

Create Resources

Create new items with POST:

Update Resources

Update existing items with PUT:

Authentication Tips

Access tokens expire after 1 hour. When you receive a 401 Unauthorized response, re-authenticate to get a fresh token.
For long-running scripts, implement token refresh logic:

Next Steps

Authentication Guide

Learn about JWT tokens, role permissions, and security best practices

API Reference

Explore request and response schemas inside Mintlify

Need Help?