# Jasper Integration via LowCodeAPI
**Last Updated**: February 10, 2026
## Overview
AI content generation platform for creating marketing copy, blog posts, and written content
**Categories:**
- {'id': 'content-generation', 'name': 'Content Generation AI'}
## Base Endpoint
https://api.lowcodeapi.com/jasper
**Important**: Always include the provider name in the URL path after `api.lowcodeapi.com/`
## Authentication
**Type:** TOKEN
**Official Documentation:** https://developers.jasper.ai/reference/command-3
## URL Format (Important)
LowCodeAPI supports two URL formats. **Always try the New Format first**, then fall back to Old Format if needed.
### New Format (Priority)
- Path parameters stay in the URL path
- Do NOT include path parameters as query parameters
- Example: `https://api.lowcodeapi.com/{provider}/resource/{id}?api_token=XXX`
### Old Format (Fallback)
- Path parameters become query parameters
- Example: `https://api.lowcodeapi.com/{provider}/resource/id?id={id}&api_token=XXX`
### Decision Flow for AI Agents
1. Always use **New Format** first - keep path parameters in the URL path
2. If you get a 404 or error, try **Old Format** with sanitized path
3. Log which format worked for future requests to this provider
## API Categories
## Common Endpoints
### Run command
**Method:** POST
**LowCodeAPI Path:** {endpoint}/v1/command
**New Format URL:**
https://api.lowcodeapi.com/jasper{endpoint}/v1/command?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/jasper/v1/command?api_token=YOUR_API_TOKEN
**Request Body:**
| Field | Type | Description |
|-------|------|-------------|
| inputs | object | |
| options | object | |
**Example Request (New Format):**
```bash
curl -X POST 'https://api.lowcodeapi.com/jasper{endpoint}/v1/command?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.jasper.ai/reference/command-3
### Image background removal
**Method:** POST
**LowCodeAPI Path:** {endpoint}/v1/image/remove-background
**New Format URL:**
https://api.lowcodeapi.com/jasper{endpoint}/v1/image/remove-background?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/jasper/v1/image/remove-background?api_token=YOUR_API_TOKEN
**Request Body:**
| Field | Type | Description |
|-------|------|-------------|
| image_file | file | |
**Example Request (New Format):**
```bash
curl -X POST 'https://api.lowcodeapi.com/jasper{endpoint}/v1/image/remove-background?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.jasper.ai/reference/image-1
### Run keep writing
**Method:** POST
**LowCodeAPI Path:** {endpoint}/v1/keep-writing
**New Format URL:**
https://api.lowcodeapi.com/jasper{endpoint}/v1/keep-writing?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/jasper/v1/keep-writing?api_token=YOUR_API_TOKEN
**Request Body:**
| Field | Type | Description |
|-------|------|-------------|
| inputs | object | |
| options | object | |
**Example Request (New Format):**
```bash
curl -X POST 'https://api.lowcodeapi.com/jasper{endpoint}/v1/keep-writing?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.jasper.ai/reference/keepwriting
### Create knowledge
**Method:** POST
**LowCodeAPI Path:** {endpoint}/v1/knowledge
**New Format URL:**
https://api.lowcodeapi.com/jasper{endpoint}/v1/knowledge?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/jasper/v1/knowledge?api_token=YOUR_API_TOKEN
**Request Body:**
| Field | Type | Description |
|-------|------|-------------|
| file | file | |
| metadata | object | |
| name | string | |
| settings | object | |
| summary | string | |
| tags | array | |
**Example Request (New Format):**
```bash
curl -X POST 'https://api.lowcodeapi.com/jasper{endpoint}/v1/knowledge?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.jasper.ai/reference/uploadknowledgedocument
### Retrieve knowledges items
**Method:** GET
**LowCodeAPI Path:** {endpoint}/v1/knowledge
**New Format URL:**
https://api.lowcodeapi.com/jasper{endpoint}/v1/knowledge?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/jasper/v1/knowledge?api_token=YOUR_API_TOKEN
**Query Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| page | number | |
| size | number | |
**Example Request (New Format):**
```bash
curl -X GET 'https://api.lowcodeapi.com/jasper{endpoint}/v1/knowledge?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.jasper.ai/reference/getknowledgedocuments
### Retrieve knowledge by ID
**Method:** GET
**LowCodeAPI Path:** {endpoint}/v1/knowledge/{knowledge_id}
**New Format URL:**
https://api.lowcodeapi.com/jasper{endpoint}/v1/knowledge/{knowledge_id}?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/jasper/v1/knowledge/knowledge_id?knowledge_id={knowledge_id}&api_token=YOUR_API_TOKEN
**Path Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| knowledge_id | string | |
**Example Request (New Format):**
```bash
curl -X GET 'https://api.lowcodeapi.com/jasper{endpoint}/v1/knowledge/{knowledge_id}?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.jasper.ai/reference/getknowledgedocument
### Update knowledge by ID
**Method:** PATCH
**LowCodeAPI Path:** {endpoint}/v1/knowledge/{knowledge_id}
**New Format URL:**
https://api.lowcodeapi.com/jasper{endpoint}/v1/knowledge/{knowledge_id}?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/jasper/v1/knowledge/knowledge_id?knowledge_id={knowledge_id}&api_token=YOUR_API_TOKEN
**Path Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| knowledge_id | string | |
**Request Body:**
| Field | Type | Description |
|-------|------|-------------|
| file | file | |
| metadata | object | |
| name | string | |
| settings | object | |
| summary | string | |
| tags | array | |
**Example Request (New Format):**
```bash
curl -X PATCH 'https://api.lowcodeapi.com/jasper{endpoint}/v1/knowledge/{knowledge_id}?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.jasper.ai/reference/updateknowledgedocument
### Delete knowledge by ID
**Method:** DELETE
**LowCodeAPI Path:** {endpoint}/v1/knowledge/{knowledge_id}
**New Format URL:**
https://api.lowcodeapi.com/jasper{endpoint}/v1/knowledge/{knowledge_id}?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/jasper/v1/knowledge/knowledge_id?knowledge_id={knowledge_id}&api_token=YOUR_API_TOKEN
**Path Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| knowledge_id | string | |
**Example Request (New Format):**
```bash
curl -X DELETE 'https://api.lowcodeapi.com/jasper{endpoint}/v1/knowledge/{knowledge_id}?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.jasper.ai/reference/deleteknowledgedocument
### Retrieve all style guides
**Method:** GET
**LowCodeAPI Path:** {endpoint}/v1/styles
**New Format URL:**
https://api.lowcodeapi.com/jasper{endpoint}/v1/styles?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/jasper/v1/styles?api_token=YOUR_API_TOKEN
**Example Request (New Format):**
```bash
curl -X GET 'https://api.lowcodeapi.com/jasper{endpoint}/v1/styles?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.jasper.ai/reference/getstyle
### Apply style guide
**Method:** POST
**LowCodeAPI Path:** {endpoint}/v1/styles/{style_id}/apply
**New Format URL:**
https://api.lowcodeapi.com/jasper{endpoint}/v1/styles/{style_id}/apply?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/jasper/v1/styles/style_id/apply?style_id={style_id}&api_token=YOUR_API_TOKEN
**Path Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| style_id | string | |
**Request Body:**
| Field | Type | Description |
|-------|------|-------------|
| content | string | |
**Example Request (New Format):**
```bash
curl -X POST 'https://api.lowcodeapi.com/jasper{endpoint}/v1/styles/{style_id}/apply?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.jasper.ai/reference/applystyle
## Usage Examples
### Example 1: Basic Chat Completion
Creating a simple text completion or chat message:
```bash
# Create a chat completion - no path parameters needed
curl -X POST "https://api.lowcodeapi.com/jasper/v1/chat/completions?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"model": "your-model-name",
"messages": [
{"role": "user", "content": "Hello, how can you help me?"}
]
}'
# Response includes generated content
```
### Example 2: Text Generation with Path Parameters
Generating text with specific model settings:
```bash
# Generate content using a specific model
curl -X POST "https://api.lowcodeapi.com/jasper/v1/models/generate?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Write a short poem about technology",
"max_tokens": 100
}'
# Or if the provider uses model in the path:
curl -X POST "https://api.lowcodeapi.com/jasper/v1/models/{MODEL_ID}:generateContent?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"contents": [{"parts": [{"text": "Write a short story"}]}]
}'
```
### Example 3: List Available Models
```bash
# Get list of available models
curl -X GET "https://api.lowcodeapi.com/jasper/v1/models?api_token=YOUR_API_TOKEN"
```
## Error Handling
LowCodeAPI returns standard HTTP status codes. Common errors:
| Status Code | Description |
|-------------|-------------|
| 200 | Success - Request completed successfully |
| 400 | Bad Request - Invalid parameters or request body |
| 401 | Unauthorized - Invalid or missing API token |
| 403 | Forbidden - Insufficient permissions |
| 404 | Not Found - Endpoint or resource doesn't exist |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Server Error - Provider API error |
All error responses include error details:
```json
{
"data": {
"error": {
"message": "Error description",
"code": "ERROR_CODE"
}
}
}
```
## Complete Endpoint Reference
| Endpoint | Method | Category |
|----------|--------|----------|
| Run command | POST | Command |
| Image background removal | POST | Image |
| Run keep writing | POST | Keep Writing |
| Create knowledge | POST | Knowledge |
| Retrieve knowledges items | GET | Knowledge |
| Retrieve knowledge by ID | GET | Knowledge |
| Update knowledge by ID | PATCH | Knowledge |
| Delete knowledge by ID | DELETE | Knowledge |
| Retrieve all style guides | GET | Style |
| Apply style guide | POST | Styles |
| Retrieve templates | GET | Templates |
| Retrieve template by ID | GET | Templates |
| Run template | POST | Templates |
| Create Tone | POST | Tones |
| Retrieve all Tones | GET | Tones |
| Retrieve Tone by ID | GET | Tones |
| Update Tone by ID | PATCH | Tones |
| Delete Tone by ID | DELETE | Tones |
| Retrieve API usage | GET | Usage |
## API Definition Endpoints
You can fetch the complete API specification for this provider:
**New Format (OpenAPI spec):**
```bash
curl 'https://backend.lowcodeapi.com/jasper/openapi'
```
**Old Format (API definition):**
```bash
curl 'https://backend.lowcodeapi.com/jasper/definition'
```
## Response Format
All responses are wrapped in a `data` key:
```json
{
"data": {
// Actual response from provider (object or array)
}
}
```