Documentation & Guides

Everything you need to get started with ATTRAL AI tools. From quick setup guides to advanced API documentation.

Quick Start Guide

1

Create Your Account

Sign up for a free ATTRAL AI account to get started. No credit card required.

Sign Up Now
2

Get Your API Key

Once logged in, navigate to your dashboard and generate your API key. This key will be used to authenticate your requests.

Authorization: Bearer attr_sk_your_api_key_here
3

Make Your First API Call

Use our REST API to generate content. Here's a simple example using curl:

curl -X POST https://api.attral.ai/v1/blog/create \
  -H "Authorization: Bearer attr_sk_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "topic": "AI in Business",
    "keywords": ["artificial intelligence", "automation", "productivity"],
    "tone": "professional",
    "length": "medium"
  }'

API Reference

Blog Creator API

Generate SEO-optimized blog content with AI.

Endpoint

POST /v1/blog/create

Request Body

{
  "topic": "string (required)",
  "keywords": ["string"],
  "tone": "professional|casual|friendly|authoritative",
  "length": "short|medium|long",
  "targetAudience": "string",
  "includeImages": boolean,
  "seoOptimized": boolean
}

Response

{
  "success": true,
  "data": {
    "title": "string",
    "content": "string",
    "metaDescription": "string",
    "tags": ["string"],
    "estimatedReadTime": number,
    "wordCount": number,
    "seoScore": number,
    "suggestions": ["string"]
  }
}

Social Media API

Create engaging social media posts for Facebook, Instagram, and YouTube.

Endpoint

POST /v1/social/create

Request Body

{
  "platform": "facebook|instagram|youtube",
  "content": "string (required)",
  "tone": "professional|casual|engaging|promotional",
  "includeHashtags": boolean,
  "includeCallToAction": boolean,
  "targetAudience": "string",
  "keywords": ["string"]
}

Response

{
  "success": true,
  "data": {
    "caption": "string",
    "hashtags": ["string"],
    "callToAction": "string",
    "suggestedPostingTime": "string",
    "engagementScore": number,
    "characterCount": number,
    "suggestions": ["string"]
  }
}

SDKs and Libraries

JavaScript/Node.js

Official SDK for JavaScript and Node.js applications.

npm install attral-ai-sdk
View on GitHub

Python

Python SDK for easy integration with your Python applications.

pip install attral-ai
View on PyPI

PHP

PHP SDK for Laravel and other PHP frameworks.

composer require attral/ai-sdk
View on Packagist

cURL

Direct HTTP API calls using cURL or any HTTP client.

curl -X POST https://api.attral.ai/v1/...
API Reference

Need Help?

Our support team is here to help you get the most out of ATTRAL AI.

FAQ

Find answers to common questions

Browse FAQ

Email Support

Get help via email

Contact Us

Live Chat

Chat with our support team

Start Chat