

# RegisterWebhookWithThirdParty
<a name="API_RegisterWebhookWithThirdParty"></a>

Configures a connection between the webhook that was created and the external tool with events to be detected.

## Request Syntax
<a name="API_RegisterWebhookWithThirdParty_RequestSyntax"></a>

```
{
   "webhookName": "string"
}
```

## Request Parameters
<a name="API_RegisterWebhookWithThirdParty_RequestParameters"></a>

For information about the parameters that are common to all actions, see [Common Parameters](CommonParameters.md).

The request accepts the following data in JSON format.

 ** [webhookName](#API_RegisterWebhookWithThirdParty_RequestSyntax) **   <a name="CodePipeline-RegisterWebhookWithThirdParty-request-webhookName"></a>
The name of an existing webhook created with PutWebhook to register with a supported third party.   
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 100.  
Pattern: `[A-Za-z0-9.@\-_]+`   
Required: No

## Response Elements
<a name="API_RegisterWebhookWithThirdParty_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

## Errors
<a name="API_RegisterWebhookWithThirdParty_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** ValidationException **   
The validation was specified in an invalid format.  
HTTP Status Code: 400

 ** WebhookNotFoundException **   
The specified webhook was entered in an invalid format or cannot be found.  
HTTP Status Code: 400

## See Also
<a name="API_RegisterWebhookWithThirdParty_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/codepipeline-2015-07-09/RegisterWebhookWithThirdParty) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/codepipeline-2015-07-09/RegisterWebhookWithThirdParty) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/codepipeline-2015-07-09/RegisterWebhookWithThirdParty) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/codepipeline-2015-07-09/RegisterWebhookWithThirdParty) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/codepipeline-2015-07-09/RegisterWebhookWithThirdParty) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/codepipeline-2015-07-09/RegisterWebhookWithThirdParty) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/codepipeline-2015-07-09/RegisterWebhookWithThirdParty) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/codepipeline-2015-07-09/RegisterWebhookWithThirdParty) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/codepipeline-2015-07-09/RegisterWebhookWithThirdParty) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/codepipeline-2015-07-09/RegisterWebhookWithThirdParty) 