Punto final de la API:
https://aisistente.com/api/v1/messages
Ejemplo de solicitud:
curl --location --request GET 'https://aisistente.com/api/v1/messages' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
chat_id
role
sort_by
sort
per_page
Punto final de la API:
https://aisistente.com/api/v1/messages
Ejemplo de solicitud:
curl --location --request POST 'https://aisistente.com/api/v1/messages' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'name={name}' \ --data-urlencode 'description={description}'
name
chat_id
role