Retrieve a list of eSIM Profiles.

GET /v1/ESimProfiles

eSIM Profiles that can be loaded onto consumer eUICC SIMs

Retrieve a list of eSIM Profiles.

Query parameters

  • Eid string

    List the eSIM Profiles that have been associated with an EId.

  • SimSid string

    Find the eSIM Profile resource related to a Sim resource by providing the SIM SID. Will always return an array with either 1 or 0 records.

  • Status string

    List the eSIM Profiles that are in a given status.

    Values are new, reserving, available, downloaded, installed, or failed.

  • PageSize integer(int64)

    How many resources to return in each list page. The default is 50, and the maximum is 1000.

    Minimum value is 1, maximum value is 1000.

  • Page integer

    The page index. This value is simply for client state.

    Minimum value is 0.

  • PageToken string

    The page token. This is provided by the API.

Responses

  • 200 application/json

    OK

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string

      Specify the origin(s) allowed to access the resource

    • Access-Control-Allow-Methods string

      Specify the HTTP methods allowed when accessing the resource

    • Access-Control-Allow-Headers string

      Specify the headers allowed when accessing the resource

    • Access-Control-Allow-Credentials boolean

      Indicates whether the browser should include credentials

    • Access-Control-Expose-Headers string

      Headers exposed to the client

    Hide response attributes Show response attributes object
    • esim_profiles array[object]
      Hide esim_profiles attributes Show esim_profiles attributes object
      • sid string | null

        The unique string that we created to identify the eSIM Profile resource.

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^HP[0-9a-fA-F]{32}$.

      • account_sid string | null

        The SID of the Account to which the eSIM Profile resource belongs.

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

      • iccid string | null

        The ICCID associated with the Sim resource.

      • sim_sid string | null

        The SID of the Sim resource that this eSIM Profile controls.

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^HS[0-9a-fA-F]{32}$.

      • status string

        The status of the eSIM Profile. Can be: new, reserving, available, downloaded, installed or failed. See the eSIM Profile Status Values for a description of each.

        Values are new, reserving, available, downloaded, installed, or failed.

      • eid string | null

        Identifier of the eUICC that can claim the eSIM Profile.

      • smdp_plus_address string(uri) | null

        Address of the SM-DP+ server from which the Profile will be downloaded. The URL will appear once the eSIM Profile reaches the status available.

      • matching_id string | null

        Unique identifier of the eSIM profile that can be used to identify and download the eSIM profile from the SM-DP+ server. Populated if generate_matching_id is set to true when creating the eSIM profile reservation.

      • activation_code string | null

        Combined machine-readable activation code for acquiring an eSIM Profile with the Activation Code download method. Can be used in a QR code to download an eSIM profile.

      • error_code string | null

        Code indicating the failure if the download of the SIM Profile failed and the eSIM Profile is in failed state.

      • error_message string | null

        Error message describing the failure if the download of the SIM Profile failed and the eSIM Profile is in failed state.

      • date_created string(date-time) | null

        The date and time in GMT when the resource was created specified in ISO 8601 format.

      • date_updated string(date-time) | null

        The date and time in GMT when the resource was last updated specified in ISO 8601 format.

      • url string(uri) | null

        The absolute URL of the eSIM Profile resource.

    • meta object
      Hide meta attributes Show meta attributes object
      • first_page_url string(uri)
      • key string
      • next_page_url string(uri) | null
      • page integer
      • page_size integer
      • previous_page_url string(uri) | null
      • url string(uri)
GET /v1/ESimProfiles
curl \
 --request GET 'https://supersim.twilio.com/v1/ESimProfiles' \
 --user "username:password"
{
  "meta": {
    "key": "esim_profiles",
    "url": "https://supersim.twilio.com/v1/ESimProfiles?PageSize=50&Page=0",
    "page": 0,
    "page_size": 50,
    "next_page_url": null,
    "first_page_url": "https://supersim.twilio.com/v1/ESimProfiles?PageSize=50&Page=0",
    "previous_page_url": null
  },
  "esim_profiles": [
    {
      "eid": "89049032005008882600033489aaaaaa",
      "sid": "HPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "url": "https://supersim.twilio.com/v1/ESimProfiles/HPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "iccid": "8988307aaaaaaaaaaaaa",
      "status": "available",
      "sim_sid": "HSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "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": "sm-dp-plus.twilio.com"
    }
  ]
}
{
  "meta": {
    "key": "esim_profiles",
    "url": "https://supersim.twilio.com/v1/ESimProfiles?Eid=89049032005008882600033489aaaaaa&PageSize=50&Page=0",
    "page": 0,
    "page_size": 50,
    "next_page_url": null,
    "first_page_url": "https://supersim.twilio.com/v1/ESimProfiles?Eid=89049032005008882600033489aaaaaa&PageSize=50&Page=0",
    "previous_page_url": null
  },
  "esim_profiles": [
    {
      "eid": "89049032005008882600033489aaaaaa",
      "sid": "HPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "url": "https://supersim.twilio.com/v1/ESimProfiles/HPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "iccid": "8988307aaaaaaaaaaaaa",
      "status": "available",
      "sim_sid": "HSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "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": "sm-dp-plus.twilio.com"
    }
  ]
}
{
  "meta": {
    "key": "esim_profiles",
    "url": "https://supersim.twilio.com/v1/ESimProfiles?SimSid=HSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&PageSize=50&Page=0",
    "page": 0,
    "page_size": 50,
    "next_page_url": null,
    "first_page_url": "https://supersim.twilio.com/v1/ESimProfiles?SimSid=HSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&PageSize=50&Page=0",
    "previous_page_url": null
  },
  "esim_profiles": [
    {
      "eid": "89049032005008882600033489aaaaaa",
      "sid": "HPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "url": "https://supersim.twilio.com/v1/ESimProfiles/HPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "iccid": "8988307aaaaaaaaaaaaa",
      "status": "available",
      "sim_sid": "HSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "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": "sm-dp-plus.twilio.com"
    }
  ]
}
{
  "meta": {
    "key": "esim_profiles",
    "url": "https://supersim.twilio.com/v1/ESimProfiles?Status=downloaded&PageSize=50&Page=0",
    "page": 0,
    "page_size": 50,
    "next_page_url": null,
    "first_page_url": "https://supersim.twilio.com/v1/ESimProfiles?Status=downloaded&PageSize=50&Page=0",
    "previous_page_url": null
  },
  "esim_profiles": [
    {
      "eid": "89049032005008882600033489aaaaaa",
      "sid": "HPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "url": "https://supersim.twilio.com/v1/ESimProfiles/HPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "iccid": "8988307aaaaaaaaaaaaa",
      "status": "downloaded",
      "sim_sid": "HSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
      "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": "sm-dp-plus.twilio.com"
    }
  ]
}