Skip to Content

Get All Profiles

GET/sim360/profile/{eid}/profilesMulti-Carrier & eSIM ProfilesOpenAPI

Returns every eSIM profile on a SIM360 EID, with each profile’s status.

Auth Scope
urn:grt:gemm
Content-Type
application/json
Base URL
https://gemmapi2.granitenet.com/v2/api/gemm/v1

Uses and Requirements

The Get All Profiles API returns every profile on the EID and returns them synchronously in the API response. No callback is sent.

Each profile has its iccid, simCarrier and profileStatus: Enabled, InProcess or Disabled. To get the time the enabled profile became active, use Get Active Profile.

  • The Enable Profile feature must be enabled for your account.
  • The EID must exist in Mobility, must not be deactivated and must be a Granite SIM360.
  • The EID’s account must be under the account in the macnum header.

Note

A profile with status InProcess has an Enable Profile request pending. To stop it, use Cancel Order.

HTTP Status Codes

StatusWhen
200The request succeeded. The response contains every profile on the EID in profiles.
400The EID is not 32 numeric digits, the EID is deactivated or is not a Granite SIM360, or the macnum header is missing or not an 8-digit number.
401The bearer token is missing, invalid or expired.
403The Enable Profile feature is not enabled for your user, your token does not have a role allowed to call this endpoint, you do not have access to the account in the macnum header, or the EID's account is not under that account.
404The EID is not found in Mobility, or no profiles are recorded for it.
429Too many requests were sent in a short period. Wait briefly and retry.
500An unexpected server error occurred.
503The system is under scheduled maintenance. Retry after the maintenance window.
504A dependent service did not respond in time. Retry the request.

Available For

  • SIM360

Headers

HeaderValue
AuthorizationBearer access-token
Content-Typeapplication/json
macnumMacnum of the top level account for your organization.

Path Parameters

ParameterTypeLocationDescription
eidstringPath ParameterThe EID of the SIM360. 32 numeric digits.

Request Examples

Responses

Immediate Success Response (200 OK)

Response Fields

ParameterTypeDescription
profilesarray of profile objectsEvery profile on the EID, in carrier display order.
iccidstringICCID of the profile. 19-20 digits.
simCarrierstringCarrier of the profile, for example ATT, TMOBILE or VERIZON WIRELESS.
profileStatusstringEnabled: the profile is enabled on the EID now. Only one profile is enabled at a time. InProcess: an Enable Profile request for this profile is pending. Disabled: the profile is neither enabled nor pending.

Failure Responses

For a complete list of errors, see Get Profile - Sync Error Messages.

Immediate Error Message

Error Response Fields

ParameterTypeDescription
resultobjectResult status object.
statusstringResult status: success or failure.
errorsarray of error objectsList of errors.
errorCodestringError code.
errorMessagestringError message.

Code Examples

Last updated on