跳到内容
Esc
↑↓导航↵打开⌘J预览

Retrieve a contact in an audience

GET/audiences/{audienceId}/contacts/{id}
授权
AuthorizationBearer 令牌 · header必填

A BillionSend API key (bs_…).

路径参数
audienceIdstring<uuid>必填
idstring必填
最小长度 1
响应
200

Contact

idstring<uuid>必填
emailstring必填
first_namestring | null必填
last_namestring | null必填
created_atstring必填
unsubscribedboolean必填

Opt-out from every marketing send of the team, whichever domain sends. A recipient's own unsubscribe never sets it: that is recorded for the domain whose email carried the link (see unsubscribed_domains).

unsubscribed_domainsobject[]必填

BillionSend extension: the domains this contact unsubscribed from through a link in their email. Marketing sends from those domains skip the contact; other domains still reach them. The team-wide opt-out is unsubscribed, not an entry here. Remove an entry with DELETE /unsubscribes/{id}.

显示属性
object 数组
domain_idstring<uuid> | null必填

Null when the domain has since been deleted from the team

namestring必填

The domain's name

unsubscribed_atstring必填
verification_statusstring | null必填

BillionSend extension: the verdict of the contact's last deep verification (POST /verifications); null while it was never verified

允许值:validinvalidriskycatchallroledisposableunknownnull
verified_atstring | null必填

When the last deep verification finished; null while never verified

objectstring必填
允许值:contact
propertiesobject必填
401

Missing, malformed, unknown or revoked API key

statusCodenumber必填
namestring必填
messagestring必填
404

Not found

statusCodenumber必填
namestring必填
messagestring必填
429

Over the rate limit (rate_limit_exceeded, with Retry-After)

statusCodenumber必填
namestring必填
messagestring必填
试一试
服务器
授权
参数
请求
curl -X GET 'https://api.billionsend.com/audiences/497f6eca-6276-4993-bfeb-53cbbbba6f08/contacts/string' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
响应
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "email": "string",
  "first_name": "string",
  "last_name": "string",
  "created_at": "string",
  "unsubscribed": true,
  "unsubscribed_domains": [
    {
      "domain_id": "b2f7354f-b74d-4332-ab10-1a5e3c56466c",
      "name": "string",
      "unsubscribed_at": "string"
    }
  ],
  "verification_status": "valid",
  "verified_at": "string",
  "object": "contact",
  "properties": {
    "property1": {
      "type": "string",
      "value": "string"
    },
    "property2": {
      "type": "string",
      "value": "string"
    }
  }
}

这个页面有帮助吗?