← Help Center

API Tokens & Postman

Yes - from API Tokens in the Studio nav, you can create a personal bearer token and use it to call Nichols Software from Postman, a script, or any other HTTP client, instead of logging in through a browser.

Creating a token

  1. Open API Tokens from the Studio nav.
  2. Give it a name (so you can tell it apart from others later) and pick an expiration - 30 days, 90 days, 1 year, or no expiration.
  3. Optionally scope it to a single project - a scoped token can only act on that one project, which is safer for automation that only needs to touch one site.
  4. Re-enter your password to confirm (this is a durable credential, so creating one requires proving it's really you, not just an open browser tab).

The full token is shown once, right after you create it - copy it somewhere safe. Nichols Software doesn't store it in a form it can show you again.

Using it in Postman

Add an Authorization header to your request:

Authorization: Bearer <your token>

In Postman, you can also use the Authorization tab on a request, choose type Bearer Token, and paste it in there - Postman sets the header for you. Any request carrying a valid token is treated as you, the same as being logged in.

Finding an endpoint to call

A token authenticates you against the same application API Studio's own interface uses - there isn't a separate, independently-documented public API surface with its own stable contract. In practice, the most reliable way to find the exact request for something you want to automate is:

  1. Open your browser's developer tools to the Network tab.
  2. Do the action once normally in Studio (e.g., list your projects, or an action on a CRM record).
  3. Find the matching request, and copy its method, URL, and JSON body into Postman.
  4. Replace your browser's cookie-based session with the Authorization: Bearer header instead - the request should behave identically.

Because these are the app's own internal endpoints rather than a versioned public API, treat them as something that could change between releases, not a stable integration contract.

Sending leads into your CRM

One endpoint is a stable, versioned contract: the lead intake API. Use it to feed leads from an ad platform, Zapier, or another company's system straight into a project's CRM. Create a token scoped to that one project for each outside sender, so you can revoke a sender on its own and its token can't reach your other projects.

POST /api/v1/projects/<project id>/leads
Authorization: Bearer <project-scoped token>
Content-Type: application/json

{
  "firstName": "Jane",
  "lastName": "Doe",
  "phone": "(586) 555-1234",
  "email": "[email protected]",
  "leadSource": "Facebook",
  "campaignIdentifier": "Spring Info Kit",
  "okToCall": true,
  "okToText": true,
  "okToEmail": true,
  "notes": "Asked for the info kit"
}

Only a phone number (at least 10 digits) and a name (firstName/lastName or fullName) are required. Optional fields: middleInitial, secondaryPhone, streetAddress, city, state, zipcode, birthdate, gender, campaignId. Any field without its own CRM column is saved in a note on the contact, so nothing you send is lost.

A successful call returns 200:

{ "ok": true, "isNewContact": true, "contactId": 1234, "leadId": 987,
  "campaignId": 12, "campaignMatched": true }

A missing or invalid field returns 400 with an errors list. A missing, revoked or wrong-project token returns 401 or 404. Each token can make up to 120 requests a minute.

Moving from an older system that used the FirstName / PhoneNumber1 / EmailAddress / OkToCall field names? Those are accepted too, so you only need to change the URL and add the token.

Sending leads from GoHighLevel

GoHighLevel's standard workflow Webhook action works as-is - no field mapping needed. It can't add an Authorization header, so put the token in the action's Custom Data instead:

  1. In a workflow (for example, trigger Contact Created or Form Submitted), add the Webhook action.
  2. Method POST, URL https://studio.nicholssoftware.com/api/v1/projects/<project id>/leads.
  3. Under Custom Data, add the key api_token with your project-scoped token as the value.
  4. Optional Custom Data: campaignIdentifier (a CRM campaign name), leadSource, notes. Any other keys you add are saved in the contact's note.

The contact's name, phone, email, address, source, tags and GoHighLevel contact ID are read from GoHighLevel's payload automatically. If you don't send campaignIdentifier, the contact's GoHighLevel source is tried as the campaign name. The token is only used to sign in - it's never saved into the CRM. Don't put the token in the URL: URLs end up in server logs.

Revoking a token

Lost a token, or done with it? Revoke it from the same API Tokens page - it stops working immediately, and doesn't affect any of your other tokens.