Retrieve messages

View as MarkdownOpen in Claude
Get messages between you and another user or your messages with all users.

Authentication

AuthorizationToken

Header authentication of the form Token <token>

Query parameters

user_idstringOptional

Another user ID, must be provided if no created_after date is provided.

created_afterstringOptional

Only fetch messages created after timestamp. Datetime in ISO8601 format. Must be provided if no user_id is provided. You can only fetch up to the last 30 days of messages.

Response

Messages
resultslist of objects or null

Errors