Create an inventory source and optionally register an agent for it.
API key or access token
Storefront platform ID slug
1"cvs-media"
Unique identifier for this source within the storefront
1 - 255"snap-ads-agent"
Display name for the inventory source
1 - 255"Snap Ads Agent"
How the source executes requests
agent Configuration for the execution type (e.g. agent URL, auth, headers)
Agent type — required when executionType is "agent"
SALES, SIGNAL, CREATIVE, OUTCOME Agent endpoint URL — required when executionType is "agent"
2048Agent protocol — required when executionType is "agent"
MCP, A2A Auth method for the agent — required when executionType is "agent"
API_KEY, NO_AUTH, JWT, OAUTH Initial credentials for testing. Required for non-OAUTH agents when executionType is "agent".
Agent description
2000Create inventory source
Inventory source response
Unique identifier within the storefront
Display name
Execution type
Execution configuration
Source lifecycle status
pending, active, disabled Linked agent ID (when executionType is agent)
Creation timestamp (ISO 8601)
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Last update timestamp (ISO 8601)
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Agent type
SALES, SIGNAL, CREATIVE, OUTCOME Agent endpoint URL
Agent protocol
MCP, A2A Agent authentication type
API_KEY, NO_AUTH, JWT, OAUTH Whether the agent has authentication configured
OAuth authorization info (for OAUTH agents)