curl --request GET \
--url https://api.boostgpt.co/v1/bot/email/readall \
--header 'Authorization: Bearer <token>'{
"total": 123,
"emails": [
{
"uuid": "<string>",
"direction": "inbound",
"from_address": "<string>",
"to_address": "<string>",
"subject": "<string>",
"text_body": "<string>",
"status": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}
],
"pagination": {
"page": 123,
"per_page": 123,
"total": 123,
"total_pages": 123
}
}Fetch all emails for an agent with pagination
curl --request GET \
--url https://api.boostgpt.co/v1/bot/email/readall \
--header 'Authorization: Bearer <token>'{
"total": 123,
"emails": [
{
"uuid": "<string>",
"direction": "inbound",
"from_address": "<string>",
"to_address": "<string>",
"subject": "<string>",
"text_body": "<string>",
"status": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}
],
"pagination": {
"page": 123,
"per_page": 123,
"total": 123,
"total_pages": 123
}
}Enter your API key
Project ID
Agent ID
Page number
Results per page
Filter by status
Filter by direction
inbound, outbound Was this page helpful?