Artificial Intelligence

Newisty AI API: API Key Setup and MiniMax-M3 Integration Guide

Sep 16, 2026 16:05
Newisty AI API: API Key Setup and MiniMax-M3 Integration Guide
AI API Gateway Check
Suggested by AI

AI API Gateway Check

View Tool

How to Use the Newisty AI API Key

Newisty provides an OpenAI-compatible AI API that allows developers to connect their applications to supported AI models using a simple API key and standard HTTP requests.

API Base URL

All client requests should use the following base URL:

https://newisty.com/api/ai/v1

The API supports several commonly used AI endpoints, including chat completions, responses, messages, and model listing.

Available Endpoints

  • POST /chat/completions — Send chat-based AI requests.
  • POST /responses — Create AI responses.
  • POST /messages — Send messages to the AI model.
  • GET /models — Retrieve the available models.

Shared API Key

The API key provided for the client should be included in the Authorization header of every authenticated request.

Authorization: Bearer sk-nwi-nZRCYxGGIWAIByPLoZudnYUK7KCnCbCCHCxAnPp0

Replace sk-nwi-nZRCYxGGIWAIByPLoZudnYUK7KCnCbCCHCxAnPp0 with the API key provided to you. For security reasons, never expose your API key directly in frontend JavaScript, mobile applications, public repositories, screenshots, or publicly accessible documentation.

Available Model

The shared key currently provides access to:

MiniMax-M3

Model ID: MiniMax-M3

Access: 1 allowed model

Rate limit: 60 requests per minute

Important: The model name is case-sensitive. You must use exactly: MiniMax-M3

For example, these should not be assumed to be equivalent:

MiniMax-M3   
minimax-m3   
MINIMAX-M3   
MiniMax-m3   

Chat Completions Example

You can make a chat completion request using the following structure:

POST https://newisty.com/api/ai/v1/chat/completions

Authorization: Bearer sk-nwi-nZRCYxGGIWAIByPLoZudnYUK7KCnCbCCHCxAnPp0
Content-Type: application/json

Request body:

{
    "model": "MiniMax-M3",
    "messages": [
        {
            "role": "user",
            "content": "Hello, can you help me?"
        }
    ]
}

cURL Example

curl https://newisty.com/api/ai/v1/chat/completions \
  -H "Authorization: Bearer sk-nwi-nZRCYxGGIWAIByPLoZudnYUK7KCnCbCCHCxAnPp0" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "MiniMax-M3",
    "messages": [
      {
        "role": "user",
        "content": "Write a short introduction about artificial intelligence."
      }
    ]
  }'
AI API Gateway Check
Suggested by AI

AI API Gateway Check

Try it out

JavaScript Example

const response = await fetch(
    "https://newisty.com/api/ai/v1/chat/completions",
    {
        method: "POST",
        headers: {
            "Authorization": "Bearer sk-nwi-nZRCYxGGIWAIByPLoZudnYUK7KCnCbCCHCxAnPp0",
            "Content-Type": "application/json"
        },
        body: JSON.stringify({
            model: "MiniMax-M3",
            messages: [
                {
                    role: "user",
                    content: "Hello, AI!"
                }
            ]
        })
    }
);

const data = await response.json();

console.log(data);

PHP Example

<?php

$ch = curl_init(
    'https://newisty.com/api/ai/v1/chat/completions'
);

curl_setopt_array($ch, [
    CURLOPT_POST => true,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer sk-nwi-nZRCYxGGIWAIByPLoZudnYUK7KCnCbCCHCxAnPp0',
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => json_encode([
        'model' => 'MiniMax-M3',
        'messages' => [
            [
                'role' => 'user',
                'content' => 'Hello, AI!'
            ]
        ]
    ]),
]);

$response = curl_exec($ch);

curl_close($ch);

$data = json_decode($response, true);

print_r($data);

Checking Available Models

You can check the models available to your API key using the /models endpoint.

GET https://newisty.com/api/ai/v1/models

Authorization: Bearer sk-nwi-nZRCYxGGIWAIByPLoZudnYUK7KCnCbCCHCxAnPp0

This is useful for confirming which models are currently available before sending an AI request.

Rate Limit

The current shared API key has a rate limit of 60 requests per minute.

If your application sends requests faster than the allowed rate, requests may be rejected or temporarily limited. Applications making frequent requests should implement appropriate retry and rate-limit handling.

API Configuration Summary

Setting Value
Base URL https://newisty.com/api/ai/v1
Chat endpoint POST /chat/completions
Responses endpoint POST /responses
Messages endpoint POST /messages
Models endpoint GET /models
Model MiniMax-M3
Model name Case-sensitive
Rate limit 60 requests/minute

Security Best Practices

  • Keep the API key private.
  • Store the key in environment variables or server-side configuration.
  • Do not commit the API key to GitHub or other public repositories.
  • Do not place the API key directly in browser-side JavaScript.
  • Do not share the full API key in screenshots or public documentation.
  • Rotate the key if you believe it has been exposed.

Quick Start

To make your first request, follow these three steps:

  1. Set the API base URL to https://newisty.com/api/ai/v1.
  2. Add your API key as a Bearer token.
  3. Use the exact case-sensitive model name MiniMax-M3.
Authorization: Bearer sk-nwi-nZRCYxGGIWAIByPLoZudnYUK7KCnCbCCHCxAnPp0

Model:
MiniMax-M3

With these settings, you can integrate the Newisty AI API into your backend, web application, automation, or other compatible client applications.

AI API Gateway Check
Suggested by AI

AI API Gateway Check

Try it out

Comments (0)

Leave a comment
Your comment will appear publicly after submission.
No comments yet. Be the first to comment!