API endpoint:
https://dorvixai.com/api/v1/chats
Request example:
curl --location --request GET 'https://dorvixai.com/api/v1/chats' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
name
for Name. Defaults to: name
.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://dorvixai.com/api/v1/chats/{id}
Request example:
curl --location --request GET 'https://dorvixai.com/api/v1/chats/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://dorvixai.com/api/v1/chats
Request example:
curl --location --request POST 'https://dorvixai.com/api/v1/chats' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'name={name}' \ --data-urlencode 'description={description}'
name
behavior
API endpoint:
https://dorvixai.com/api/v1/chats/{id}
Request example:
curl --location --request PUT 'https://dorvixai.com/api/v1/chats/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
name
behavior
favorite
API endpoint:
https://dorvixai.com/api/v1/chats/{id}
Request example:
curl --location --request DELETE 'https://dorvixai.com/api/v1/chats/{id}' \ --header 'Authorization: Bearer {api_key}'