Skip to content

Opt into or update the active business's verified Day-3 Close Club badge

PUT/api/v1/close-club/me

Create or update the business's live SVG Trust Scorecard badge and directory listing.

Operation ID: upsert_my_close_club_badge·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Request body

display_namestringrequired
industrystring
countrystring

One of: US, CA

website_urlstring
quotestring
is_public_directoryboolean
is_badge_enabledboolean

Responses

200Successful Response

slugstringrequired
display_namestringrequired
industrystring
countrystring
website_urlstring
quotestring
is_public_directoryboolean
is_badge_enabledboolean
verified_gradestring
verified_close_daysinteger
auto_coded_pctinteger
last_verified_periodstring
badge_viewsinteger
is_founding_showcaseboolean
badge_svg_urlstringrequired
verify_urlstringrequired
markdown_snippetstringrequired
html_snippetstringrequired

401Unauthorized - Missing or expired token, an MCP OAuth token used against the REST API, or no access to this business

errorstringrequired

Error category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.

messagestringrequired

Human-readable explanation, safe to show to end users.

codestringrequired

Stable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).

request_idstring

Correlation id for support requests. Echoes the x-request-id request header when one was supplied.

errorsobject

Field-level validation messages keyed by field name. Present on 400/422 validation failures only.

403Forbidden - Insufficient permissions

errorstringrequired

Error category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.

messagestringrequired

Human-readable explanation, safe to show to end users.

codestringrequired

Stable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).

request_idstring

Correlation id for support requests. Echoes the x-request-id request header when one was supplied.

errorsobject

Field-level validation messages keyed by field name. Present on 400/422 validation failures only.

422Validation Error

errorstringrequired

Error category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.

messagestringrequired

Human-readable explanation, safe to show to end users.

codestringrequired

Stable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).

request_idstring

Correlation id for support requests. Echoes the x-request-id request header when one was supplied.

errorsobject

Field-level validation messages keyed by field name. Present on 400/422 validation failures only.