github.com/twilio/twilio-go@v1.20.1/rest/messaging/v1/docs/ServicesPreregisteredUsa2pApi.md (about) 1 # ServicesPreregisteredUsa2pApi 2 3 All URIs are relative to *https://messaging.twilio.com* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**CreateExternalCampaign**](ServicesPreregisteredUsa2pApi.md#CreateExternalCampaign) | **Post** /v1/Services/PreregisteredUsa2p | 8 9 10 11 ## CreateExternalCampaign 12 13 > MessagingV1ExternalCampaign CreateExternalCampaign(ctx, optional) 14 15 16 17 18 19 ### Path Parameters 20 21 This endpoint does not need any path parameter. 22 23 ### Other Parameters 24 25 Other parameters are passed through a pointer to a CreateExternalCampaignParams struct 26 27 28 Name | Type | Description 29 ------------- | ------------- | ------------- 30 **CampaignId** | **string** | ID of the preregistered campaign. 31 **MessagingServiceSid** | **string** | The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) that the resource is associated with. 32 33 ### Return type 34 35 [**MessagingV1ExternalCampaign**](MessagingV1ExternalCampaign.md) 36 37 ### Authorization 38 39 [accountSid_authToken](../README.md#accountSid_authToken) 40 41 ### HTTP request headers 42 43 - **Content-Type**: application/x-www-form-urlencoded 44 - **Accept**: application/json 45 46 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 47 [[Back to Model list]](../README.md#documentation-for-models) 48 [[Back to README]](../README.md) 49