Skip to navigation

Search a conversation's messages

Searches the text of one conversation and returns the matching messages, newest first.

Open a match in context with GET /partner/v1/accounts/{creatorId}/conversations/{conversationId}/messages/window. Results come in pages (pagination).

Required scopes: read:messages.

Authentication

AuthorizationBearer

OAuth 2.0 client credentials. Request an access token at POST /partner/v1/oauth/token (grant_type=client_credentials) with the application’s client secret or a private_key_jwt assertion, then send it as Authorization: Bearer evpa_live_… (or evpa_test_… for a sandbox application). Tokens are opaque and short lived (see expires_in); there is no refresh token. Each operation lists the scopes it requires.

Required scopes:read:messages

Path parameters

creatorIdstringRequired>=1 character

The creator profile id — the ONLY source of the creator a request acts for.

conversationIdstringRequired>=1 character

Headers

X-Creator-IdstringOptional

Optional echo of the path creatorId; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.

Query parameters

qstringRequired2-200 characters
The text to search for.
beforestringOptional1-512 characters

The nextCursor of the previous page. Omit it for the first page.

takeintegerOptional>=1

Response

Matching messages, newest first.
itemslist of objects
hasMoreboolean
nextCursorstring or null

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error