curl --request POST \
--url https://agenticadvertising.org/api/properties/save \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"publisher_domain": "examplepub.com",
"authorized_agents": [],
"properties": [
{
"type": "website",
"name": "Example Publisher"
}
],
"contact": {
"name": "<string>",
"email": "<string>"
}
}
'{
"success": true,
"message": "<string>",
"id": "<string>",
"revision_number": 123
}Save property
Save or update a hosted property in the registry. Requires authentication. For existing properties, creates a revision-tracked edit. For new properties, creates the property directly. Cannot edit authoritative properties managed via adagents.json.
This is an identity-only write surface: the stored document always carries authorized_agents: []. Sales authorization lives solely in the publisher’s own origin adagents.json; the community registry cannot mint or carry it. Any authorized_agents sent in the request body is ignored.
curl --request POST \
--url https://agenticadvertising.org/api/properties/save \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"publisher_domain": "examplepub.com",
"authorized_agents": [],
"properties": [
{
"type": "website",
"name": "Example Publisher"
}
],
"contact": {
"name": "<string>",
"email": "<string>"
}
}
'{
"success": true,
"message": "<string>",
"id": "<string>",
"revision_number": 123
}Authorizations
Bearer token in the Authorization header. Two token types are accepted:
- Organization API key (
sk_...) issued via the dashboard. Org-scoped, long-lived, for server-to-server use. - User JWT obtained via the OAuth 2.1 authorization code flow with PKCE. User-scoped, short-lived. Discover the authorization server at
/.well-known/oauth-authorization-serverand the protected-resource metadata at/.well-known/oauth-protected-resource/api.
Body
"examplepub.com"
Ignored. Community-registry rows never assert sales authorization — the owner's origin adagents.json is the sole authorization source — so any value here is dropped and the stored document carries authorized_agents:[].
Show child attributes
Show child attributes
[]Show child attributes
Show child attributes
[
{
"type": "website",
"name": "Example Publisher"
}
]Show child attributes
Show child attributes
Was this page helpful?