# setInboxThreadStarred

Star (starred: true) or unstar a TEXT thread for everyone in the organization, so it shows under the inbox's Starred filter (listInboxThreads starredOnly). textConversationId is a MESSAGE row's id. Calls and emails are starred in the app only. Returns false when you cannot act on the thread.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "setInboxThreadStarred", "variables": {...} }`
- Scope: `WRITE`
- Type: mutation
- Idempotency: honors `Idempotency-Key` (24 h)
- Rate-limited: no

## Variables

- `textConversationId`: `String!` (required)
- `starred`: `Boolean!` (required)

## Response (data, an example)

```json
{
  "smsMutation": {
    "setConversationStarred": true
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "operationId": "setInboxThreadStarred",
    "variables": {
      "textConversationId": "<String>",
      "starred": true
    }
  }'
```
