github.com/twilio/twilio-go@v1.20.1/rest/verify/v2/docs/ServicesEntitiesChallengesNotificationsApi.md (about) 1 # ServicesEntitiesChallengesNotificationsApi 2 3 All URIs are relative to *https://verify.twilio.com* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**CreateNotification**](ServicesEntitiesChallengesNotificationsApi.md#CreateNotification) | **Post** /v2/Services/{ServiceSid}/Entities/{Identity}/Challenges/{ChallengeSid}/Notifications | 8 9 10 11 ## CreateNotification 12 13 > VerifyV2Notification CreateNotification(ctx, ServiceSidIdentityChallengeSidoptional) 14 15 16 17 Create a new Notification for the corresponding Challenge 18 19 ### Path Parameters 20 21 22 Name | Type | Description 23 ------------- | ------------- | ------------- 24 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 25 **ServiceSid** | **string** | The unique SID identifier of the Service. 26 **Identity** | **string** | Customer unique identity for the Entity owner of the Challenge. This identifier should be immutable, not PII, length between 8 and 64 characters, and generated by your external system, such as your user's UUID, GUID, or SID. It can only contain dash (-) separated alphanumeric characters. 27 **ChallengeSid** | **string** | The unique SID identifier of the Challenge. 28 29 ### Other Parameters 30 31 Other parameters are passed through a pointer to a CreateNotificationParams struct 32 33 34 Name | Type | Description 35 ------------- | ------------- | ------------- 36 **Ttl** | **int** | How long, in seconds, the notification is valid. Can be an integer between 0 and 300. Default is 300. Delivery is attempted until the TTL elapses, even if the device is offline. 0 means that the notification delivery is attempted immediately, only once, and is not stored for future delivery. 37 38 ### Return type 39 40 [**VerifyV2Notification**](VerifyV2Notification.md) 41 42 ### Authorization 43 44 [accountSid_authToken](../README.md#accountSid_authToken) 45 46 ### HTTP request headers 47 48 - **Content-Type**: application/x-www-form-urlencoded 49 - **Accept**: application/json 50 51 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 52 [[Back to Model list]](../README.md#documentation-for-models) 53 [[Back to README]](../README.md) 54