search_contacts
Find contacts in SendGrid using search queries with segment conditions to locate specific email addresses or contact groups without creating segments.
Instructions
Search for contacts using query conditions without creating a segment
Input Schema
Name | Required | Description | Default |
---|---|---|---|
page_size | No | Number of results to return (max 100) | |
page_token | No | Token for pagination | |
query | Yes | Search query using segment conditions (e.g., 'email LIKE "@example.com"') |
Input Schema (JSON Schema)
{
"properties": {
"page_size": {
"default": 50,
"description": "Number of results to return (max 100)",
"type": "number"
},
"page_token": {
"description": "Token for pagination",
"type": "string"
},
"query": {
"description": "Search query using segment conditions (e.g., 'email LIKE \"@example.com\"')",
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
}