Save Conversions API token
save_capi_tokenSaves a Meta Conversions API token for the connected site's current Pixel. Takes the Pixel ID plus exactly one of capi_token (the raw token) or sealed_capi_token (a sealed token from the Tyton browser extension, starting with tyton_sealed_v1.). The Pixel ID must match the site's saved Pixel. Meta checks the token; an explicit invalid or expired response is rejected, otherwise the token is saved with delivery unchecked. Saves the token encrypted; it is never returned. Does not send a test conversion, approve or activate tracking, or prove delivery. Requires a connected site with an active Tyton plan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pixel_id | Yes | ||
| capi_token | No | ||
| sealed_capi_token | No | A sealed token from the Tyton browser extension, exactly as given (starts with tyton_sealed_v1.). |