Retrieve SIM swap date


Parameters

Name In Type Required Description
org_id path string true ‘none’
body body SimSwapCreateSimSwapDate true Create a SIM swap date request for a phone number.

Request body - instance of SimSwapCreateSimSwapDate

1
2
3
{
  "phoneNumber": "+346661113334"
}
Name Type Required Description
phoneNumber SimSwapPhoneNumber false A public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number). In order to be globally unique it has to be formatted in international format, according to E.164 standard, prefixed with ‘+’.

Request example

1
2
3
4
5
6
7
8

curl -X POST https://opengateway.masstack.com/v1/orgs/{org_id}/sim-swap/retrieve-date \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
 --data-raw "{
  'phoneNumber': '+346661113334'
}" 

Responses

Code Meaning Description Schema
200 OK Contains information about SIM swap change SimSwapSimSwapInfo
400 Bad Request Bad Request SimSwapErrorInfo
401 Unauthorized Unauthorized SimSwapErrorInfo
403 Forbidden Forbidden SimSwapErrorInfo
404 Not Found Not found SimSwapErrorInfo
422 Unprocessable Entity Unprocessable Content SimSwapErrorInfo
500 Internal Server Error Internal Server Error SimSwapErrorInfo
503 Service Unavailable Service Unavailable SimSwapErrorInfo
504 Gateway Time-out Gateway Timeout SimSwapErrorInfo

Endpoints

Validate consents

    Phone number verify

      Retrieve SIM swap date

        Check SIM swap