# Post IMSI IP Mapping

## Create IMSI IP Mapping Configuration

> Create a new IMSI IP Mapping. Provide the UE IP address corresponding to the IMSI. This IP will be utilized as the UE IP after attach.

```json
{"openapi":"3.0.0","info":{"title":"Monogoto Edge User API Configuration","version":"2.0"},"servers":[{"url":"https://api.monogoto.io/api"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"CreateImsiIpMappingRequest":{"type":"object","required":["imsi-ip-mapping"],"properties":{"imsi-ip-mapping":{"type":"array","items":{"$ref":"#/components/schemas/ImsiIpMappingEntry"}}}},"ImsiIpMappingEntry":{"type":"object","required":["imsi","rat","apn-ip-mapping"],"properties":{"imsi":{"type":"string"},"rat":{"type":"string","enum":["4G","5G"]},"apn-ip-mapping":{"type":"array","items":{"$ref":"#/components/schemas/ApnIpMappingEntry"}}}},"ApnIpMappingEntry":{"type":"object","required":["apn","ip"],"properties":{"apn":{"type":"string"},"ip":{"type":"string"}}}},"responses":{"BadInput":{"description":"Invalid Input","content":{"application/json":{"schema":{"type":"object"}}}},"InternalServerError":{"description":"Pod deleted.Server Error","content":{"application/json":{"schema":{"type":"object"}}}}},"parameters":{"edgeIp":{"name":"edgeIp","in":"path","required":true,"schema":{"type":"string","enum":["Monogoto Edge IP"]},"description":"The IP address of the edge"}}},"paths":{"/v1/edge/{edgeIp}/imsiipmapping":{"post":{"summary":"Create IMSI IP Mapping Configuration","description":"Create a new IMSI IP Mapping. Provide the UE IP address corresponding to the IMSI. This IP will be utilized as the UE IP after attach.","tags":["IMSI IP Mapping"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateImsiIpMappingRequest"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"type":"string"}}}},"400":{"$ref":"#/components/responses/BadInput"},"500":{"$ref":"#/components/responses/InternalServerError"}},"parameters":[{"$ref":"#/components/parameters/edgeIp"}]}}}}
```
