Order an eSIM Profile.
eSIM Profiles that can be loaded onto consumer eUICC SIMs
Order an eSIM Profile.
Body
-
The URL we should call using the
callback_method
when the status of the eSIM Profile changes. At this stage of the eSIM Profile pilot, the a request to the URL will only be called when the ESimProfile resource changes fromreserving
toavailable
. -
The HTTP method we should use to call
callback_url
. Can be:GET
orPOST
and the default is POST.Values are
GET
orPOST
. -
When set to
true
, a value forEid
does not need to be provided. Instead, when the eSIM profile is reserved, a matching ID will be generated and returned via thematching_id
property. This identifies the specific eSIM profile that can be used by any capable device to claim and download the profile. -
Identifier of the eUICC that will claim the eSIM Profile.
curl \
--request POST 'https://supersim.twilio.com/v1/ESimProfiles' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'Eid=89049032005008882600033489aaaaaa'
{"Eid"=>"89049032005008882600033489aaaaaa"}
{"GenerateMatchingId"=>true}
{"Eid"=>"89049032005008882600033489aaaaaa", "CallbackUrl"=>"http://callback.twilio.com", "CallbackMethod"=>"POST"}
{
"eid": "89049032005008882600033489aaaaaa",
"sid": "HPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://supersim.twilio.com/v1/ESimProfiles/HPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"iccid": null,
"status": "new",
"sim_sid": null,
"error_code": null,
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"matching_id": null,
"date_created": "2020-09-01T20:00:00Z",
"date_updated": "2020-09-01T20:00:00Z",
"error_message": null,
"activation_code": null,
"smdp_plus_address": null
}
{
"eid": null,
"sid": "HPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://supersim.twilio.com/v1/ESimProfiles/HPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"iccid": null,
"status": "new",
"sim_sid": null,
"error_code": null,
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"matching_id": null,
"date_created": "2020-09-01T20:00:00Z",
"date_updated": "2020-09-01T20:00:00Z",
"error_message": null,
"activation_code": null,
"smdp_plus_address": null
}
{
"eid": "89049032005008882600033489aaaaaa",
"sid": "HPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://supersim.twilio.com/v1/ESimProfiles/HPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"iccid": null,
"status": "reserving",
"sim_sid": null,
"error_code": null,
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"matching_id": null,
"date_created": "2020-09-01T20:00:00Z",
"date_updated": "2020-09-01T20:00:00Z",
"error_message": null,
"activation_code": null,
"smdp_plus_address": null
}