API endpoint:
https://dre.ai/api/v1/documents
Request example:
curl --location --request GET 'https://dre.ai/api/v1/documents' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
name
for Name, result
for Result. Defaults to: name
.template_id
1
for Freestyle, 2
for About us, 3
for Advertisement, 4
for Article, 5
for Blog intro, 6
for Blog outline, 7
for Blog outro, 8
for Blog paragraph, 9
for Blog post, 10
for Blog section, 11
for Blog talking points, 12
for Blog title, 13
for Call to action, 14
for Content rewrite, 15
for Content summary, 16
for FAQ, 17
for Hashtags, 18
for Headline, 19
for How it works, 20
for Meta description, 21
for Meta keywords, 22
for Mission statement, 23
for Newsletter, 24
for Pain-Agitate-Solution, 25
for Paragraph, 26
for Press release, 27
for Social post, 28
for Social post caption, 29
for Startup ideas, 30
for Startup names, 31
for Subheadline, 32
for Testimonial, 33
for Tweet, 34
for Twitter thread, 35
for Value proposition, 36
for Video description, 37
for Video script, 38
for Video tags, 39
for Video title, 40
for Vision statement, 49
for Monthly Content Calendar, 50
for eCommerce SEO, 51
for Instagram Carousel Idea, 52
for Optimized Website Navigation, 53
for Product sheet, 54
for Welcome email, 55
for Push notification, 56
for Blog listicle, 57
for Content grammar, 58
for Blog tags, 59
for Pros and cons, 60
for Google advertisement, 61
for Facebook advertisement, 62
for Job description, 63
for Review, 64
for Feature section. Defaults to: freestyle
.favorite
sort_by
id
for Date created, name
for Name. Defaults to: id
.sort
desc
for Descending, asc
for Ascending. Defaults to: desc
.per_page
10
, 25
, 50
, 100
. Defaults to: 10
.API endpoint:
https://dre.ai/api/v1/documents/{id}
Request example:
curl --location --request GET 'https://dre.ai/api/v1/documents/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://dre.ai/api/v1/documents
Request example:
curl --location --request POST 'https://dre.ai/api/v1/documents' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'name={name}' \ --data-urlencode 'prompt={prompt}'
name
prompt
creativity
0
for Repetitive, 0.25
for Deterministic, 0.5
for Original, 0.75
for Creative, 1
for Imaginative. Defaults to: 0.5
.API endpoint:
https://dre.ai/api/v1/documents/{id}
Request example:
curl --location --request PUT 'https://dre.ai/api/v1/documents/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
name
result
favorite
API endpoint:
https://dre.ai/api/v1/documents/{id}
Request example:
curl --location --request DELETE 'https://dre.ai/api/v1/documents/{id}' \ --header 'Authorization: Bearer {api_key}'