Skip to Content

Get Active Profile

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

Returns the eSIM profile that is active on a SIM360 EID now, with the time it became active.

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

Uses and Requirements

The Get Active Profile API returns the profile that is active on the EID and returns it synchronously in the API response. No callback is sent.

The iccid and simCarrier fields have the same names as in the simInfo block of the profile-activation callback, so you can reuse that part of your callback mapping. The EID is not repeated in the response; use the one you sent in the path. Use this API to fill in the active profile on a record that was created after the callback was sent.

  • 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

You can submit one EID per request. To see every profile on the EID, use Get All Profiles.

HTTP Status Codes

StatusWhen
200The request succeeded. The response contains the active profile in simInfo.
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 active profile is 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
simInfoobjectThe profile that is active on the EID.
iccidstringICCID of the active profile. 19-20 digits.
simCarrierstringCarrier of the active profile, for example ATT, TMOBILE or VERIZON WIRELESS.
creationTimestringWhen the profile became active, in Eastern Time, in the format MM/dd/yyyy HH:mm:ss.fffffff (the same format as the profile-activation callback).

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.

No Active Profile (404 Not Found)

When the EID is found but no active profile is recorded for it, the API returns 404 with a standard problem-details body instead of a result object.

Code Examples

Last updated on