GET
/
api
/
ai_scripts
/
{id}
curl --request GET \
  --url https://api.creatify.ai/api/ai_scripts/{id}/ \
  --header 'X-API-ID: <api-key>' \
  --header 'X-API-KEY: <api-key>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "language": "ar",
  "target_audience": "<string>",
  "video_length": 15,
  "script_styles": [
    "BenefitsV2"
  ],
  "generated_scripts": [
    {
      "paragraphs": "<string>",
      "script_name": "<string>",
      "script_style": "",
      "title": "<string>"
    }
  ],
  "failed_reason": "<string>",
  "status": "pending",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "user": 123,
  "workspace": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "product": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "url": "<string>",
    "slug": "<string>",
    "title": "<string>",
    "description": "<string>",
    "image_urls": "<any>",
    "video_urls": "<any>",
    "image_selected": "<any>",
    "video_selected": "<any>",
    "reviews": "<any>",
    "created_with": "link_to_video",
    "logo_url": "<string>",
    "price": "<string>",
    "original_price": "<string>",
    "promo_price": "<string>",
    "use_promotional_info": true,
    "highlight_features": "<string>",
    "brand_info": "<string>",
    "promotional_details": "<string>",
    "trigger_insights": true,
    "ai_summary": "<string>",
    "ai_target_audiences": "<any>",
    "ai_key_features": "<any>",
    "ai_keywords": "<any>",
    "updated_at": "2023-11-07T05:31:56Z"
  },
  "credits_used": 123
}

Authorizations

X-API-ID
string
header
required

API ID, from your settings page.

X-API-KEY
string
header
required

API Key, from your settings page.

Path Parameters

id
string
required

A UUID string identifying this ai script job.

Response

200 - application/json

The response is of type object.