github.com/twilio/twilio-go@v1.20.1/rest/numbers/v1/docs/PortingPortabilityPhoneNumberApi.md (about) 1 # PortingPortabilityPhoneNumberApi 2 3 All URIs are relative to *https://numbers.twilio.com* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**FetchPortingPortability**](PortingPortabilityPhoneNumberApi.md#FetchPortingPortability) | **Get** /v1/Porting/Portability/PhoneNumber/{PhoneNumber} | 8 9 10 11 ## FetchPortingPortability 12 13 > NumbersV1PortingPortability FetchPortingPortability(ctx, PhoneNumberoptional) 14 15 16 17 Allows to check if a single phone number can be ported to Twilio or not. 18 19 ### Path Parameters 20 21 22 Name | Type | Description 23 ------------- | ------------- | ------------- 24 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 25 **PhoneNumber** | **string** | The phone number which portability is to be checked. Phone numbers are in E.164 format (e.g. +16175551212). 26 27 ### Other Parameters 28 29 Other parameters are passed through a pointer to a FetchPortingPortabilityParams struct 30 31 32 Name | Type | Description 33 ------------- | ------------- | ------------- 34 **TargetAccountSid** | **string** | The SID of the account where the phone number(s) will be ported. 35 36 ### Return type 37 38 [**NumbersV1PortingPortability**](NumbersV1PortingPortability.md) 39 40 ### Authorization 41 42 [accountSid_authToken](../README.md#accountSid_authToken) 43 44 ### HTTP request headers 45 46 - **Content-Type**: Not defined 47 - **Accept**: application/json 48 49 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 50 [[Back to Model list]](../README.md#documentation-for-models) 51 [[Back to README]](../README.md) 52