Belgeler

Notes
Expert level
The API key should be sent as a Bearer token in the Authorization header of the request. Get your API key.
List

API endpoint:

GET
https://www.ai.dijivasyon.com/api/v1/documents

Request example:

curl --location --request GET 'https://www.ai.dijivasyon.com/api/v1/documents' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Parameter
Type
Tanım
search
optional string
The search query.
search_by
optional string
Arayan. Possible values are: name için İsim, result için Result. Defaults to: name.
template_id
optional integer
Filter by template ID. Possible values are: 1 için Genel Şablon, 2 için Hakkımızda yazısı, 3 için Reklamcılık, 4 için Makale, 5 için Blog girişi, 6 için Blog outline, 7 için Blog çıkış, 8 için Blog paragraph, 9 için Blog post, 10 için Blog section, 11 için Blog talking points, 12 için Blog title, 13 için Call to action, 14 için Content rewrite, 15 için Content summary, 16 için FAQ, 17 için Hashtags, 18 için Headline, 19 için Nasıl Çalışır?, 20 için Meta description, 21 için Meta keywords, 22 için Mission statement, 23 için Newsletter, 24 için Pain-Agitate-Solution, 25 için Paragraf, 26 için Press release, 27 için Social post, 28 için Social post caption, 29 için Startup ideas, 30 için Startup names, 31 için Subheadline, 32 için Testimonial, 33 için Tweet, 34 için Twitter thread, 35 için Value proposition, 36 için Video description, 37 için Video script, 38 için Video tags, 39 için Video title, 40 için Vision statement, 41 için Product sheet, 42 için Welcome email, 43 için Push notification, 44 için Blog listicle, 45 için Content grammar, 46 için Blog tags, 47 için Pros and cons, 48 için Google advertisement, 49 için Facebook advertisement, 50 için Job description, 51 için Review, 52 için Feature section. Defaults to: freestyle.
favorite
optional boolean
Filter by favorite.
sort_by
optional string
Sort by. Possible values are: id için Date created, name için İsim. Defaults to: id.
sort
optional string
Sort. Possible values are: desc için Azalan, asc için Artan. Defaults to: desc.
per_page
optional int
Sayfa Başına Sonuç. Possible values are: 10, 25, 50, 100. Defaults to: 10.
Show

API endpoint:

GET
https://www.ai.dijivasyon.com/api/v1/documents/{id}

Request example:

curl --location --request GET 'https://www.ai.dijivasyon.com/api/v1/documents/{id}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Store

API endpoint:

POST
https://www.ai.dijivasyon.com/api/v1/documents

Request example:

curl --location --request POST 'https://www.ai.dijivasyon.com/api/v1/documents' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'name={name}' \
--data-urlencode 'prompt={prompt}'
Parameter
Type
Tanım
name
required string
The template name.
prompt
required string
The instructions for the AI.
creativity
required float
The creative level of the result. Possible values are: 0 için Repetitive, 0.25 için Deterministic, 0.5 için Original, 0.75 için Creative, 1 için Imaginative. Defaults to: 0.5.
Update

API endpoint:

PUT PATCH
https://www.ai.dijivasyon.com/api/v1/documents/{id}

Request example:

curl --location --request PUT 'https://www.ai.dijivasyon.com/api/v1/documents/{id}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}'
Parameter
Type
Tanım
name
optional string
The template name.
result
optional string
The document result.
favorite
optional boolean
Whether the document is favorite or not.
Sil

API endpoint:

DELETE
https://www.ai.dijivasyon.com/api/v1/documents/{id}

Request example:

curl --location --request DELETE 'https://www.ai.dijivasyon.com/api/v1/documents/{id}' \
--header 'Authorization: Bearer {api_key}'