API reference
SetPartnerPostSettings
Set a post's tracking and sponsored flags. Write access, posts toolset, MCP tool set_partner_post_settings. Part of the MISSIN public API: call it with an API…
Access: Write
Variables
| Variable | Type | Required | Accepts | Description |
|---|---|---|---|---|
clearSponsored | Boolean | no | Set alongside isSponsored: null means 'clear', which GraphQL cannot tell from 'omitted' on a nullable input. | |
enabled | Boolean | no | Keep taking readings. Off stops the cadence; readings already taken stay. | |
postId | UUID! | yes | ||
sponsored | Boolean | no | Paid partnership. Omit to leave it; null puts it back to 'the platform did not say'. |
Call it
bash
curl https://api.missin.co.uk/graphql/v1 \
-H "Authorization: Bearer $MISSIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"operationName":"SetPartnerPostSettings","variables":{"postId":"00000000-0000-0000-0000-000000000000"},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"4a7c429c28cc283b4b4ade5e6e2793c1208638f1df3a7858c62fcfecfa80575d"}}}'Document
graphql
mutation SetPartnerPostSettings($clearSponsored: Boolean, $enabled: Boolean, $postId: UUID!, $sponsored: Boolean) { __typename setPartnerPostSettings( input: {partnerPostId: $postId, trackingEnabled: $enabled, isSponsored: $sponsored, clearSponsored: $clearSponsored} ) { __typename partnerPost { __typename id isSponsored trackingEnabled } partnerPostId userErrors { __typename field message } } }