Send install credentials to the traveler
/v1/esim/sims/{esim_id}/credentials/deliverbird esim credentials deliver <esim-id> \
--channel sms \
--locale nl \
--to +31612345678curl -X POST "https://us1.platform.bird.com/v1/esim/sims/{esim_id}/credentials/deliver" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"to": "+31612345678",
"channel": "sms",
"locale": "nl"
}'{
"id": "edv_01krdgeqcxet5s7t44vh8rt9mg",
"channel": "email",
"to": "traveler@example.com",
"status": "pending",
"failure_code": "invalid_recipient",
"install_link": {
"id": "eil_01krdgeqcxet5s7t44vh8rt9mg"
}
}
Sends a hosted installation link by email or SMS. The eSIM must be installable. Email includes the link expiry time; SMS includes the link. The recipient opens the page to view the QR code and manual installation details. Links expire after seven days; resending leaves earlier links valid until expiry or explicit revocation.
A 202 response confirms acceptance for sending. Check List credential deliveries for the delivery outcome and any failure code. Reuse the same Idempotency-Key to recover an accepted send while its response is retained.
Returns 409 with E26012 when the selected channel is unavailable; choose another configured channel. New deliveries return 501 while hosted links are unavailable. A retained successful response can still be replayed during that time.
Parâmetros
esim_idstringeSIM ID.
Corpo da requisição
toRecipient address. An email address for the email channel, an E.164 phone number for the sms channel.
channelChannel the install credentials are delivered over.
Possible values: email, sms
localeLanguage for the message. Falls back to the closest available language, then English.
Payload de resposta
idchanneltoRecipient address the message goes to.
statusfailure_codeWhy the delivery failed. Null unless status is failed. Open enum: treat unrecognized values as future failure kinds.
Possible values (may grow over time): invalid_recipient, suppressed, blocked, bounced, channel_unavailable, send_failed
created_atWhen the delivery was accepted.
settled_atWhen the outcome became known. Null while pending.
install_linkLink metadata for explicit revocation. Null for deliveries created before hosted links were enabled.
Mostrar atributos secundários
install_link.idinstall_link.expires_atWhen the installation link expires.
install_link.revoked_atWhen the link was revoked, or null while not revoked.
Recursos relacionados
Continue com a documentação, guias e exemplos sobre este tópico.