Sign inGet started

bird sms tfn verifications create

Usage

Contoh kode
bird sms tfn verifications create [flags]

Description

Create a toll-free verification
Opens a draft verification against a toll-free sender this workspace owns. Only the sender is required; the dossier is filled in afterwards with bird sms tfn verifications update, over as many calls as it takes. The result is always a draft, and nothing reaches a carrier until it is submitted, which is a step for a person rather than this surface.
Build the request from flags, a JSON TFNVerificationCreate body via --body-file ("-" reads stdin), or both — a flag overrides the matching body field. Run --example to print a ready-to-edit body, or --dry-run to print the resolved request without sending it.

Examples

Contoh kode
# print the body shape (no credentials needed)
bird sms tfn verifications create --example

# the body it prints:
Contoh kode
{
  "business_address_country": "US",
  "business_entity_type": "sole_proprietor",
  "business_registration_country": "US",
  "business_registration_type": "ein",
  "identity_id": "cid_01krdgeqcxet5s7t44vh8rt9mg",
  "monthly_volume_estimate_tier": "up_to_10",
  "opt_in_evidence_attachment_ids": ["tca_01krdgeqcxet5s7t44vh8rt9mg"],
  "sender_id": "snd_01krdgeqcxet5s7t44vh8rt9mg"
}

Options

Request

NameDescription
--body-fileRead the JSON request body from this file; "-" reads stdin
--examplePrint a complete example request body, then exit
--dry-runPrint the resolved request without sending it, then exit
--idempotency-keyDeduplication key; a retry with the same key won't act twice

Options

NameDescription
--legal-entity-nameLegal name of the business being verified.
--business-registration-numberGovernment-issued business registration or tax identifier.
--business-registration-countryCountry that issued the business registration, as an ISO 3166-1 alpha-2 code such as US. Accepted in either case and stored uppercase.
--business-registration-typeKind of government-issued business registration identifier supplied in business_registration_number for a toll-free verification: - ein: US Employer Identification Number. - cbn: Canada Business Number. - neq: Numéro d'entreprise du Québec, Quebec's provincial enterprise number. - provincial_number: A Canadian provincial registration number other than neq. - crn: Company Registration Number, issued by a national companies registry (for example, UK Companies House). - vat: Value Added Tax identification number. - acn: Australian Company Number. - abn: Australian Business Number. - brn: Business Registration Number, issued by a national business registry. - siren: French business identification number. - siret: French business establishment identification number (a siren plus a location suffix). - nzbn: New Zealand Business Number. - ust_idnr: Umsatzsteuer-Identifikationsnummer, the Austrian or German vat identification number. - cif: Certificado de Identificación Fiscal, the Spanish tax ID for legal entities. - nif: Número de Identificación Fiscal, a Spanish or Portuguese tax identification number. - cnpj: Cadastro Nacional da Pessoa Jurídica, the Brazilian business tax ID. - uid: Unternehmens-Identifikationsnummer, the Swiss or Austrian business identification number. - other: A government-issued business identifier not listed above. Possible values: ein, cbn, neq, provincial_number, crn, vat, acn, abn, brn, siren, siret, nzbn, ust_idnr, cif, nif, cnpj, uid, other.
--business-entity-typeLegal structure of the business being verified. Spelled the same as 10DLC's entity type, which names the same five structures; the two stay separate enums because what each authority accepts is its own to change. Possible values: sole_proprietor, private_profit, public_profit, non_profit, government.
--business-address-line1First line of the business address.
--business-address-line2Second line of the business address.
--business-address-cityCity of the business address.
--business-address-stateState or province of the business address.
--business-address-postal-codePostal or ZIP code of the business address.
--business-address-countryCountry of the business address, as an ISO 3166-1 alpha-2 code. Accepted in either case and stored uppercase.
--contact-first-nameFirst name of the business contact.
--contact-last-nameLast name of the business contact.
--contact-emailEmail address of the business contact.
--contact-phonePhone number of the business contact, in E.164 format.
--business-websitePublic website of the business.
--privacy-policy-urlPublicly reachable URL of the privacy policy that applies to recipients of these messages.
--terms-and-conditions-urlPublicly reachable URL of the terms and conditions that apply to recipients of these messages.
--use-case-categoryThe messaging use case for this number.
--use-case-descriptionA short description of how the number is used.
--message-sampleA representative example of messages sent from the number.
--opt-in-descriptionHow recipients opt in to receive messages.
--opt-in-evidence-attachment-ids <value>…IDs of uploaded screenshots evidencing the opt-in workflow. Upload each file with POST /v1/compliance/attachments first, then list the returned IDs here.
--monthly-volume-estimate-tierEstimated messages a month, as the band the carrier reviews against. One band per value the carrier accepts, so nothing is lost in either direction. The top band is above_5m rather than a ten-million ceiling on purpose: the band below it is up_to_5m, so naming this one for ten million would leave five to ten million with no band that claims it. Possible values: up_to_10, up_to_100, up_to_1k, up_to_10k, up_to_100k, up_to_250k, up_to_500k, up_to_750k, up_to_1m, up_to_5m, above_5m.
--age-gatedWhether the messaging content is age-gated.
--help-responseThe HELP reply you are declaring to the carrier, reviewed as part of verification. It does not set what is actually sent: configure that under your SMS keyword rules, and keep the two consistent so what goes out matches what was approved.
--opt-in-confirmation-responseThe opt-in confirmation you are declaring to the carrier, reviewed as part of verification. It does not set what is actually sent.
--sender-idThe toll-free sender to license for SMS. Must be a toll-free, SMS-capable number your workspace owns. Immutable once created. (required; or in --body-file)
--identity-idThe business this verification is for, recorded so registrations for the same business are recognisable as one. Optional, and it must belong to this workspace. The verification is built from the details in this request either way.
--response-schemaPrint the fields this command returns, then exit
NameDescription
bird sms tfn verifications cancelCancel a toll-free verification
bird sms tfn verifications getGet a toll-free verification
bird sms tfn verifications listList your toll-free verifications
bird sms tfn verifications requirementsGet what a toll-free verification needs
bird sms tfn verifications updateUpdate a toll-free verification