Order an eSIM Profile
eSIM Profiles that can be loaded onto consumer eUICC SIMs
Order an eSIM Profile.
Body
-
CallbackMethod string(http-method)
The HTTP method we should use to call
callback_url
. Can be:GET
orPOST
and the default is POST.Values are
HEAD
,GET
,POST
,PATCH
,PUT
, orDELETE
. -
CallbackUrl string
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
. -
Eid string
Identifier of the eUICC that will claim the eSIM Profile.
POST /v1/ESimProfiles
curl \
-X POST https://supersim.twilio.com/v1/ESimProfiles \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'CallbackMethod=HEAD&CallbackUrl=string&Eid=string'
Request example
{
"CallbackMethod": "HEAD",
"CallbackUrl": "string",
"Eid": "string"
}
Request examples
{
"CallbackMethod": "HEAD",
"CallbackUrl": "string",
"Eid": "string"
}
Response examples (201)
{
"account_sid": "string",
"date_created": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"eid": "string",
"error_code": "string",
"error_message": "string",
"iccid": "string",
"sid": "string",
"sim_sid": "string",
"smdp_plus_address": "https://example.com",
"status": "new",
"url": "https://example.com"
}
Response examples (201)
{
"account_sid": "string",
"date_created": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"eid": "string",
"error_code": "string",
"error_message": "string",
"iccid": "string",
"sid": "string",
"sim_sid": "string",
"smdp_plus_address": "https://example.com",
"status": "new",
"url": "https://example.com"
}