Message Center

List messages in thread

Use this resource to list messages in thread with provided identifier. Read more: <a href="../../tutorials/jak-zarzadzac-centrum-wiadomosci-XxWm2K890Fk#lista-wiadomosci-dla-wybranego-watku" target="_blank">PL</a> / <a href="../../tutorials/how-to-manage-the-message-center-g05avyGlZUW#list-of-the-messages-for-the-particular-thread" target="_blank">EN</a>.

get/messaging/threads/{threadId}/messages

Request

  • Base URL: https://api.allegro.pl
  • URL: https://api.allegro.pl/messaging/threads/{threadId}/messages
  • Auth: OAuth 2 (authorization code, authorization URL https://allegro.pl/auth/oauth/authorize, token URL https://allegro.pl/auth/oauth/token, scopes: allegro:api:messaging)

Path parameters

threadIdstring required

Identifier of thread to get messages from.

Query parameters

limitinteger

The maximum number of messages returned in the response.

offsetinteger

Index of the first returned message from all results. Available only for content version 'application/vnd.allegro.public.v1+json'.

beforestring date-time

Message creation date before filter parameter (exclusive) - cannot be used with offset. Available only for content version 'application/vnd.allegro.public.v1+json'.

afterstring date-time

Message creation date after filter parameter (exclusive). Available only for content version 'application/vnd.allegro.public.v1+json'.

page.idstring

ID of the page of messages to retrieve. Available only for content version 'application/vnd.allegro.beta.v1+json'.

Headers

Accept-Language'en-US' | 'pl-PL' | 'uk-UA' | 'sk-SK' | 'cs-CZ' | 'hu-HU' BCP-47 language code

Expected language of messages.

Response

Thread message list returned successfully

Changes

No recorded changes to this operation across all 1 revision of this API.