Custom Attributes API

Hi,

Is there a public API endpoint to programmatically update Custom Targeting Attributes (specifically the enum values)?

I’m trying to sync segments from an external tool to Builder.io so they stay updated in the targeting dropdown automatically.

Any quick tips or docs on this? Thanks!

Hello @mateuszad,

Great question — and you’re on the right track.

There isn’t currently a documented, dedicated public REST endpoint specifically for managing Custom Targeting Attribute enum values. However, you can likely achieve this using the Builder Admin API / Admin SDK, which is designed for programmatic space management.

Two resources worth checking out:

We haven’t personally validated this exact use case (syncing external segments into targeting enums), but based on the capabilities of the Admin API, it should be possible to manage models and configuration programmatically — so it’s definitely worth exploring.

If you end up trying this and hit blockers, feel free to share what you’ve tried and we can help troubleshoot.

Thanks,