Get an identity
GET
/v1/compliance/identities/{identity_id}const identity = await bird.complianceIdentities.get(
"cid_01krdgeqcxet5s7t44vh8rt9mg",
);
console.log(identity.name, Object.keys(identity.answers));identity = client.compliance_identities.get("cid_01krdgeqcxet5s7t44vh8rt9mg")
print(identity.name, list(identity.answers))identity, err := client.ComplianceIdentities.Get(context.Background(), "cid_01krdgeqcxet5s7t44vh8rt9mg")
if err != nil {
log.Fatal(err)
}
fmt.Println(identity.Name, len(*identity.Answers))$identity = $bird->complianceIdentities->get('cid_01krdgeqcxet5s7t44vh8rt9mg');
echo $identity->getName(), "\n";bird compliance identities get <identity-id>curl -X GET "https://us1.platform.bird.com/v1/compliance/identities/{identity_id}" \
-H "Authorization: Bearer $TOKEN"响应200
{
"id": "cid_01krdgeqcxet5s7t44vh8rt9mg",
"name": "Goldcrest Communications SAS"
}
Returns one of this workspace's parties, with the business details it holds.
参数
identity_idstringIdentity ID.
响应载荷
idstring
必填
namestring
必填
What you call this party. Yours to choose; it is never sent to a carrier.
answersobject
必填
The business details this party has supplied, keyed by requirement. Filled in for you: a single-value detail lands here the moment you file it on one of your registrations, so the next one prefills it rather than asking again. Only requirements a country marks as being about the party appear; anything about a specific sender is asked fresh each time.
created_atstring
必填
updated_atstring
必填