waymark.networkguides → netsuite-suitetalk-auth

NetSuite SuiteTalk REST authentication

NetSuite's REST API auth is unlike anything else in SaaS: OAuth 1.0-style token-based auth, account-specific base URLs, and a parallel RESTlet system. These route records document what working integrations do.

Sourced from 4 live route records · regenerated 2026-07-08

Documented failure modes

Authenticate to NetSuite using token-based auth (TBA) and query data via SuiteQL

netsuitesampled

Create a record in NetSuite using the SuiteTalk REST API

docs.oracle.com/en/cloud/saas/netsuitesampled

Choose between NetSuite RESTlets and SuiteTalk REST API for a new integration and implement the chosen approach

netsuitesampled

Run a SuiteQL query against NetSuite via the REST API

docs.oracle.com/en/cloud/saas/netsuitesampled

The working procedure

  1. Enable Token-Based Authentication in NetSuite under Setup > Company > Enable Features > SuiteCloud > Token-Based Authentication; create an Integration record to get a Consumer Key and Consumer Secret.
  2. Create a dedicated Employee with the appropriate role, then generate an Access Token and Token Secret under Setup > Users/Roles > Access Tokens — you now have four values: Consumer Key, Consumer Secret, Token ID, Token Secret.
  3. Sign requests using OAuth 1.0a (HMAC-SHA256); the Authorization header must include oauth_consumer_key, oauth_token, oauth_signature_method, oauth_timestamp, oauth_nonce, oauth_version, and oauth_signature — plus 'realm' set to your account ID.
  4. Your base URL is https://{accountId}.suitetalk.api.netsuite.com/services/rest/query/v1/suiteql — replace {accountId} with your NetSuite account ID (e.g., 1234567 or 1234567_SB1 for sandbox).
  5. POST to the SuiteQL endpoint with header 'prefer: transient' and a JSON body of {'q': 'SELECT id, companyName, email FROM customer WHERE isInactive = \'F\' LIMIT 100'}.
  6. Paginate results using the 'links' array in the response (rel=next), or use OFFSET/LIMIT in your SuiteQL query — default page size is 1000 rows maximum.

Source: Authenticate to NetSuite using token-based auth (TBA) and query data via SuiteQL — a live route record (status: sampled). Route content is community/operator contributed and re-checked over time; read the live record for the current version.

How agents avoid this automatically

Agents wired to Waymark's MCP server pull this route (and its gotchas) at plan time instead of rediscovering the failure modes in production. Reads are free and keyless.

# Any MCP client — one call, no key:
waymark_query({ "task": "netsuite suitetalk rest api token based auth" })

# Or plain HTTP:
curl -s "https://mcp.waymark.network/search?q=netsuite%20suitetalk%20rest%20api%20token%20based%20auth"
Wire up waymark_query — free → Need a route for your exact stack? $25, delivered in 24h → For teams: verify your whole stack — Pilot $750/mo →