SendlySendly
API ReferenceDomains

Check a sending domain's logo readiness

GET
/api/v1/domains/{id}/logo/readiness

How ready this identity is to show its logo as the inbox avatar: a list of steps, each met, missing, unknown or not_applicable with a plain-English reason and the inboxes it unlocks, and one checklist per inbox (Gmail, Yahoo, Apple Mail, Fastmail) saying which steps that inbox requires.

The steps are DMARC at enforcement (p=quarantine or p=reject, pct=100) on the sending host and on its registered (organizational) domain, a BIMI record whose l= is an https URL, the SVG Tiny PS logo file at l=, and the mark certificate (VMC or CMC) at the record's a=. For the certificate only "the URL answers with a PEM file" is checked; the certificate chain is not validated. Gmail and Apple Mail show no BIMI logo without a certificate, and Sendly neither issues nor sells them. Two routes that need no BIMI record (a Google account profile photo for Gmail, Apple Branded Mail) are set up with the provider and cannot be seen from outside, so they are always unknown, never met.

An unknown means a lookup failed or the step is self-attested; it is never a pass and never a failure. Readiness is not a promise: providers decide whether to display a logo.

The reading comes from public DNS and from the customer's own web hosts (every lookup has a short timeout and a size cap, and the whole read ends after 5 seconds, when any step not yet read is unknown), so it is held for a minute; checked_at says when it was taken. The readiness object on GET /api/v1/domains/{id}/logo is unchanged and remains DNS-only.

Requires the domains:read scope — View your sending domains and their verification status.

Authorization

AuthorizationBearer <token>

API key authentication. Use a sk_* (FULL) or pk_* (SENDING_ONLY) key as the bearer token. Public keys (pk_*) are restricted to the email-send endpoints and the self-serve list subscribe/unsubscribe pair; every other endpoint — event tracking included — answers 403 for them. In scope terms (used by /api/v1/* operations): FULL keys hold every scope; SENDING_ONLY keys hold only emails:send.

In: header

Path Parameters

id*string

Resource id.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/v1/domains/497f6eca-6276-4993-bfeb-53cbbbba6f08/logo/readiness"
{
  "domain_id": "b2f7354f-b74d-4332-ab10-1a5e3c56466c",
  "domain": "string",
  "checked_at": "2019-08-24T14:15:22Z",
  "items": [
    {
      "key": "dmarc_enforced",
      "status": "met",
      "reason": "string",
      "unlocks": [
        "gmail"
      ],
      "evidence": "string"
    }
  ],
  "providers": [
    {
      "inbox": "gmail",
      "status": "ready",
      "checklist": [
        {
          "item": "dmarc_enforced",
          "requirement": "required",
          "status": "met"
        }
      ]
    }
  ]
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "code": "string",
  "request_id": "string",
  "errors": [
    {
      "pointer": "string",
      "code": "string",
      "message": "string"
    }
  ],
  "next": {
    "tool": "string",
    "args": {
      "property1": null,
      "property2": null
    }
  }
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "code": "string",
  "request_id": "string",
  "errors": [
    {
      "pointer": "string",
      "code": "string",
      "message": "string"
    }
  ],
  "next": {
    "tool": "string",
    "args": {
      "property1": null,
      "property2": null
    }
  }
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "code": "string",
  "request_id": "string",
  "errors": [
    {
      "pointer": "string",
      "code": "string",
      "message": "string"
    }
  ],
  "next": {
    "tool": "string",
    "args": {
      "property1": null,
      "property2": null
    }
  }
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "code": "string",
  "request_id": "string",
  "errors": [
    {
      "pointer": "string",
      "code": "string",
      "message": "string"
    }
  ],
  "next": {
    "tool": "string",
    "args": {
      "property1": null,
      "property2": null
    }
  }
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "code": "string",
  "request_id": "string",
  "errors": [
    {
      "pointer": "string",
      "code": "string",
      "message": "string"
    }
  ],
  "next": {
    "tool": "string",
    "args": {
      "property1": null,
      "property2": null
    }
  }
}
{
  "type": "http://example.com",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "code": "string",
  "request_id": "string",
  "errors": [
    {
      "pointer": "string",
      "code": "string",
      "message": "string"
    }
  ],
  "next": {
    "tool": "string",
    "args": {
      "property1": null,
      "property2": null
    }
  }
}