🚀 Introducing Astro - Your AI assistant for building and improving agents. Get started
cURL
curl --request GET \ --url https://odyssey.asteroid.ai/agents/v2/agent-profiles/{profileId}/inbox-emails \ --header 'X-Asteroid-Agents-Api-Key: <api-key>'
{ "emailCount": 123, "emails": [ { "createdAt": "2023-11-07T05:31:56Z", "from": "<string>", "id": "<string>", "subject": "<string>", "to": [ "<string>" ] } ], "hasMore": true }
List emails in the agent profile’s inbox
The ID of the agent profile
Maximum number of emails to return
The request has succeeded.
Response for listing the emails in an agent profile's inbox
Number of emails returned
Emails addressed to this profile's inbox
Show child attributes
Whether Resend has more emails beyond this page