Send the contact's confirmation link again
/v1/compliance/submissions/{submission_id}/contact-confirmationconst submission = await bird.complianceSubmissions.sendContactConfirmation(
"csb_01krdgeqcxet5s7t44vh8rt9mg",
);
console.log(submission.id);submission = client.compliance_submissions.send_contact_confirmation("csb_01krdgeqcxet5s7t44vh8rt9mg")
print(submission.id)submission, err := client.ComplianceSubmissions.SendContactConfirmation(context.Background(), "csb_01krdgeqcxet5s7t44vh8rt9mg")
if err != nil {
log.Fatal(err)
}
fmt.Println(*submission.Id)$submission = $bird->complianceSubmissions->sendContactConfirmation('csb_01krdgeqcxet5s7t44vh8rt9mg');
echo $submission->getId(), "\n";bird compliance submissions send-contact-confirmation <submission-id>curl -X POST "https://us1.platform.bird.com/v1/compliance/submissions/{submission_id}/contact-confirmation" \
-H "Authorization: Bearer $TOKEN"{
"next": [
{
"kind": "operation"
}
],
"id": "csb_01krdgeqcxet5s7t44vh8rt9mg",
"subject_kind": "sms_sender",
"subject_id": "scr_01krdgeqcxet5s7t44vh8rt9mg",
"program": "alpha",
"country_code": "US",
"identity_id": "cid_01krdgeqcxet5s7t44vh8rt9mg",
"domain_proof": {
"method": "member_login",
"domain": "acme.com"
},
"verifying_user_id": "usr_01krdgeqcxet5s7t44vh8rt9mg",
"items": [
{
"id": "cit_01krdgeqcxet5s7t44vh8rt9mg",
"state": "not_supplied",
"attachment_id": "tca_01krdgeqcxet5s7t44vh8rt9mg",
"attachment_ids": [
"tca_01krdgeqcxet5s7t44vh8rt9mg"
]
}
]
}
Emails the business contact of a business verification a new confirmation link, for a
submission whose contact_email is awaiting_confirmation. The previous link stops working.
To use another address, resupply contact_email instead; that sends a link to the new
address.
Returns 409 Conflict when the submission is not waiting for its contact to confirm.
Parametri
submission_idstringSubmission ID.
Payload di risposta
nextWhat to do next about this submission, given the state it is in. Each entry names one action and says why it is worth taking, so you can act on this response without working out the order yourself. Present on reads that compute it: an empty list means there is nothing to do, and the field is absent entirely on responses that do not report next actions.
A submission reports the answers you filed; whether the country's requirements are met is reported by the requirements read. So this points there rather than repeating a verdict it does not own.
idsubject_kindWhat is being registered.
sms_sender: a sender registered to send to one country.number: a phone number you hold that needs ownership paperwork before it can carry traffic.number_emergency: emergency calling on a dedicated number you hold. The subject is created by turning emergency calling on for the number.identity: a business you operate as, registered once and reused by later registrations that name it.
Possible values: sms_sender, number, number_emergency, identity
subject_idWhat is being registered. For sms_sender this is the scr_ id returned when you register a sender for a country. For number it is the nda_ id of a dedicated number you hold, as returned by GET /v1/numbers. For number_emergency, it is the nes_ ID of the emergency service being registered. A shared short code (nal_) is not accepted: it is shared, so its ownership paperwork is not yours to file. For identity it is the cid_ id of the party being registered, picked from the parties your workspace holds, as returned by GET /v1/compliance/identities.
programThe registration program a country runs. Available programs depend on the registered resource. An SMS sender registers under an authority regime (alpha or numeric). A phone number proves ownership under its number type (mobile, local, national, short_code, short_code_fteu, or toll_free), matching the values of NumberType. An identity registers your business itself under business, internationally: its coordinate's country is always ZZ. A value is therefore only meaningful alongside the subject it describes. More are added as coverage grows, so treat this as an open set rather than a fixed list.
Possible values (may grow over time): alpha, numeric, mobile, local, national, short_code, short_code_fteu, toll_free, business
country_codeISO 3166-1 alpha-2 country code.
identity_idThe party this registration was filed for, or null if none was named.
domain_proofFor a business verification, how your organization proved it controls the business's domain. Absent otherwise.
verifying_user_idFor a business verification, the member who acts for the business. Absent otherwise.
satisfiedWhether this country's requirements are met. true once the submission is approved and every required requirement is approved or marked not applicable. This can remain true when an external verifier requests a correction. Once you submit that correction, it must pass review before this becomes true again, including any optional answers you change.
itemsEvery answer and where it stands. Each is decided on its own.
created_atWhen this was submitted.
updated_atWhen it last changed.
closed_atWhen this submission was closed. Null while it remains open.
closure_reasonThe decline reason for a closed submission, or null while open.
Risorse correlate
Continua con la documentazione, le guide e gli esempi per questo argomento.