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_methodwhen 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 fromreservingtoavailable. -
The HTTP method we should use to call
callback_url. Can be:GETorPOSTand the default is POST.Values are
GETorPOST. -
When set to
true, a value forEiddoes not need to be provided. Instead, when the eSIM profile is reserved, a matching ID will be generated and returned via thematching_idproperty. 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
}