-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
244aa77
commit e1d618b
Showing
2 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
--- | ||
page_title: "genesyscloud_integration_facebook Resource - terraform-provider-genesyscloud" | ||
subcategory: "" | ||
description: |- | ||
Genesys Cloud integration facebook | ||
--- | ||
# genesyscloud_integration_facebook (Resource) | ||
|
||
Genesys Cloud integration facebook | ||
|
||
## API Usage | ||
The following Genesys Cloud APIs are used by this resource. Ensure your OAuth Client has been granted the necessary scopes and permissions to perform these operations: | ||
|
||
* [POST /api/v2/conversations/messaging/integrations/facebook](https://developer.genesys.cloud/devapps/api-explorer#post-api-v2-conversations-messaging-integrations-facebook) | ||
* [GET /api/v2/conversations/messaging/integrations/facebook/{integrationId}](https://developer.genesys.cloud/devapps/api-explorer#get-api-v2-conversations-messaging-integrations-facebook--integrationId-) | ||
* [PATCH /api/v2/conversations/messaging/integrations/facebook/{integrationId}](https://developer.genesys.cloud/devapps/api-explorer#patch-api-v2-conversations-messaging-integrations-facebook--integrationId-) | ||
* [DELETE /api/v2/conversations/messaging/integrations/facebook/{integrationId}](https://developer.genesys.cloud/devapps/api-explorer#delete-api-v2-conversations-messaging-integrations-facebook--integrationId-) | ||
* [GET /api/v2/conversations/messaging/integrations/facebook](https://developer.genesys.cloud/devapps/api-explorer#get-api-v2-conversations-messaging-integrations-facebook) | ||
|
||
|
||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "genesyscloud_integration_facebook" "test_sample" { | ||
name = "ARBI Org Facebook Integration1" | ||
page_access_token = "1234567890" | ||
messaging_setting_id = "2c4e3b8e-3c9f-45c9-82cd-4bb54c8f18f0" | ||
supported_content_id = "019c37a7-ccb4-4966-b1d7-ddb20399f7ab" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `name` (String) The name of the Facebook Integration | ||
|
||
### Optional | ||
|
||
- `app_id` (String) The app Id of Facebook app. The appId is required when a customer wants to use their own approved Facebook app. | ||
- `app_secret` (String) The app Secret of Facebook app. The appSecret is required when appId is provided. | ||
- `messaging_setting_id` (String) The messaging Setting unique identifier associated with this integration. | ||
- `page_access_token` (String) The long-lived Page Access Token of Facebook page. | ||
See https://developers.facebook.com/docs/facebook-login/access-tokens. | ||
Either pageAccessToken or userAccessToken should be provided. | ||
- `page_id` (String) The page Id of Facebook page. The pageId is required when userAccessToken is provided. | ||
- `supported_content_id` (String) The SupportedContent unique identifier associated with this integration. | ||
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) | ||
- `user_access_token` (String) The short-lived User Access Token of the Facebook user logged into the Facebook app. | ||
See https://developers.facebook.com/docs/facebook-login/access-tokens. | ||
Either pageAccessToken or userAccessToken should be provided. | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
|
||
<a id="nestedblock--timeouts"></a> | ||
### Nested Schema for `timeouts` | ||
|
||
Optional: | ||
|
||
- `read` (String) | ||
- `update` (String) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
resource "genesyscloud_integration_facebook" "test_sample" { | ||
name = "ARBI Org Facebook Integration1" | ||
page_access_token = "1234567890" | ||
messaging_setting_id = "2c4e3b8e-3c9f-45c9-82cd-4bb54c8f18f0" | ||
supported_content_id = "019c37a7-ccb4-4966-b1d7-ddb20399f7ab" | ||
} |