337 lines
27 KiB
JSON
337 lines
27 KiB
JSON
{
|
|
"name": "VerifyEmailIntegration",
|
|
"fully_qualified_name": "PosthogApi.VerifyEmailIntegration@0.1.0",
|
|
"description": "Verify email address for an integration's environment.\n\nThis tool is used to confirm the email address for a specific integration within an environment. It should be called when you need to verify that the email address associated with an integration is valid and active.",
|
|
"toolkit": {
|
|
"name": "ArcadePosthogApi",
|
|
"description": null,
|
|
"version": "0.1.0"
|
|
},
|
|
"input": {
|
|
"parameters": [
|
|
{
|
|
"name": "integration_id",
|
|
"required": true,
|
|
"description": "A unique integer value identifying this integration within the environment.",
|
|
"value_schema": {
|
|
"val_type": "integer",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "A unique integer value identifying this integration."
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "id"
|
|
},
|
|
{
|
|
"name": "project_id",
|
|
"required": true,
|
|
"description": "Project ID for which you want to verify the email integration. Retrieve it by calling /api/projects/.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "project_id"
|
|
},
|
|
{
|
|
"name": "email_integration_details",
|
|
"required": true,
|
|
"description": "JSON object containing the details for the email integration. Includes 'id', 'kind', 'config', 'created_at', 'created_by', 'errors', and 'display_name'.",
|
|
"value_schema": {
|
|
"val_type": "json",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": {
|
|
"id": {
|
|
"val_type": "integer",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": null
|
|
},
|
|
"kind": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": [
|
|
"slack",
|
|
"salesforce",
|
|
"hubspot",
|
|
"google-pubsub",
|
|
"google-cloud-storage",
|
|
"google-ads",
|
|
"google-sheets",
|
|
"snapchat",
|
|
"linkedin-ads",
|
|
"reddit-ads",
|
|
"tiktok-ads",
|
|
"intercom",
|
|
"email",
|
|
"linear",
|
|
"github",
|
|
"meta-ads",
|
|
"twilio",
|
|
"clickup",
|
|
"vercel",
|
|
"databricks"
|
|
],
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "* `slack` - Slack\n* `salesforce` - Salesforce\n* `hubspot` - Hubspot\n* `google-pubsub` - Google Pubsub\n* `google-cloud-storage` - Google Cloud Storage\n* `google-ads` - Google Ads\n* `google-sheets` - Google Sheets\n* `snapchat` - Snapchat\n* `linkedin-ads` - Linkedin Ads\n* `reddit-ads` - Reddit Ads\n* `tiktok-ads` - Tiktok Ads\n* `intercom` - Intercom\n* `email` - Email\n* `linear` - Linear\n* `github` - Github\n* `meta-ads` - Meta Ads\n* `twilio` - Twilio\n* `clickup` - Clickup\n* `vercel` - Vercel\n* `databricks` - Databricks"
|
|
},
|
|
"config": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": null
|
|
},
|
|
"created_at": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": null
|
|
},
|
|
"created_by": {
|
|
"val_type": "json",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": null
|
|
},
|
|
"errors": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": null
|
|
},
|
|
"display_name": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": null
|
|
}
|
|
},
|
|
"inner_properties": null,
|
|
"description": ""
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "requestBody"
|
|
}
|
|
]
|
|
},
|
|
"output": {
|
|
"description": "Response from the API endpoint 'environments_integrations_email_verify_create'.",
|
|
"available_modes": [
|
|
"value",
|
|
"error",
|
|
"null"
|
|
],
|
|
"value_schema": {
|
|
"val_type": "json",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": null
|
|
}
|
|
},
|
|
"requirements": {
|
|
"authorization": null,
|
|
"secrets": [
|
|
{
|
|
"key": "POSTHOG_SERVER_URL"
|
|
},
|
|
{
|
|
"key": "POSTHOG_PERSONAL_API_KEY"
|
|
}
|
|
],
|
|
"metadata": null
|
|
},
|
|
"deprecation_message": null,
|
|
"metadata": {
|
|
"object_type": "api_wrapper_tool",
|
|
"version": "1.1.0",
|
|
"description": "Tools that enable LLMs to interact directly with the Datadog API."
|
|
},
|
|
"http_endpoint": {
|
|
"metadata": {
|
|
"object_type": "http_endpoint",
|
|
"version": "1.2.0",
|
|
"description": ""
|
|
},
|
|
"url": "{posthog_server_url}/api/environments/{project_id}/integrations/{id}/email/verify/",
|
|
"http_method": "POST",
|
|
"headers": {},
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"tool_parameter_name": "integration_id",
|
|
"description": "A unique integer value identifying this integration.",
|
|
"value_schema": {
|
|
"val_type": "integer",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "A unique integer value identifying this integration."
|
|
},
|
|
"accepted_as": "path",
|
|
"required": true,
|
|
"deprecated": false,
|
|
"default": null,
|
|
"documentation_urls": []
|
|
},
|
|
{
|
|
"name": "project_id",
|
|
"tool_parameter_name": "project_id",
|
|
"description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
|
|
},
|
|
"accepted_as": "path",
|
|
"required": true,
|
|
"deprecated": false,
|
|
"default": null,
|
|
"documentation_urls": []
|
|
},
|
|
{
|
|
"name": "requestBody",
|
|
"tool_parameter_name": "email_integration_details",
|
|
"description": "",
|
|
"value_schema": {
|
|
"val_type": "json",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": {
|
|
"id": {
|
|
"val_type": "integer",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": null
|
|
},
|
|
"kind": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": [
|
|
"slack",
|
|
"salesforce",
|
|
"hubspot",
|
|
"google-pubsub",
|
|
"google-cloud-storage",
|
|
"google-ads",
|
|
"google-sheets",
|
|
"snapchat",
|
|
"linkedin-ads",
|
|
"reddit-ads",
|
|
"tiktok-ads",
|
|
"intercom",
|
|
"email",
|
|
"linear",
|
|
"github",
|
|
"meta-ads",
|
|
"twilio",
|
|
"clickup",
|
|
"vercel",
|
|
"databricks"
|
|
],
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "* `slack` - Slack\n* `salesforce` - Salesforce\n* `hubspot` - Hubspot\n* `google-pubsub` - Google Pubsub\n* `google-cloud-storage` - Google Cloud Storage\n* `google-ads` - Google Ads\n* `google-sheets` - Google Sheets\n* `snapchat` - Snapchat\n* `linkedin-ads` - Linkedin Ads\n* `reddit-ads` - Reddit Ads\n* `tiktok-ads` - Tiktok Ads\n* `intercom` - Intercom\n* `email` - Email\n* `linear` - Linear\n* `github` - Github\n* `meta-ads` - Meta Ads\n* `twilio` - Twilio\n* `clickup` - Clickup\n* `vercel` - Vercel\n* `databricks` - Databricks"
|
|
},
|
|
"config": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": null
|
|
},
|
|
"created_at": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": null
|
|
},
|
|
"created_by": {
|
|
"val_type": "json",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": null
|
|
},
|
|
"errors": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": null
|
|
},
|
|
"display_name": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": null
|
|
}
|
|
},
|
|
"inner_properties": null,
|
|
"description": ""
|
|
},
|
|
"accepted_as": "body",
|
|
"required": true,
|
|
"deprecated": false,
|
|
"default": null,
|
|
"documentation_urls": []
|
|
}
|
|
],
|
|
"documentation_urls": [],
|
|
"secrets": [
|
|
{
|
|
"arcade_key": "POSTHOG_SERVER_URL",
|
|
"parameter_name": "posthog_server_url",
|
|
"accepted_as": "path",
|
|
"formatted_value": null,
|
|
"description": "",
|
|
"is_auth_token": false
|
|
},
|
|
{
|
|
"arcade_key": "POSTHOG_PERSONAL_API_KEY",
|
|
"parameter_name": "Authorization",
|
|
"accepted_as": "header",
|
|
"formatted_value": "Bearer {authorization}",
|
|
"description": "",
|
|
"is_auth_token": false
|
|
}
|
|
],
|
|
"request_body_spec": "{\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"type\": \"object\",\n \"description\": \"Standard Integration serializer.\",\n \"properties\": {\n \"id\": {\n \"type\": \"integer\",\n \"readOnly\": true\n },\n \"kind\": {\n \"enum\": [\n \"slack\",\n \"salesforce\",\n \"hubspot\",\n \"google-pubsub\",\n \"google-cloud-storage\",\n \"google-ads\",\n \"google-sheets\",\n \"snapchat\",\n \"linkedin-ads\",\n \"reddit-ads\",\n \"tiktok-ads\",\n \"intercom\",\n \"email\",\n \"linear\",\n \"github\",\n \"meta-ads\",\n \"twilio\",\n \"clickup\",\n \"vercel\",\n \"databricks\"\n ],\n \"type\": \"string\",\n \"description\": \"* `slack` - Slack\\n* `salesforce` - Salesforce\\n* `hubspot` - Hubspot\\n* `google-pubsub` - Google Pubsub\\n* `google-cloud-storage` - Google Cloud Storage\\n* `google-ads` - Google Ads\\n* `google-sheets` - Google Sheets\\n* `snapchat` - Snapchat\\n* `linkedin-ads` - Linkedin Ads\\n* `reddit-ads` - Reddit Ads\\n* `tiktok-ads` - Tiktok Ads\\n* `intercom` - Intercom\\n* `email` - Email\\n* `linear` - Linear\\n* `github` - Github\\n* `meta-ads` - Meta Ads\\n* `twilio` - Twilio\\n* `clickup` - Clickup\\n* `vercel` - Vercel\\n* `databricks` - Databricks\"\n },\n \"config\": {},\n \"created_at\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"readOnly\": true\n },\n \"created_by\": {\n \"allOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"integer\",\n \"readOnly\": true\n },\n \"uuid\": {\n \"type\": \"string\",\n \"format\": \"uuid\",\n \"readOnly\": true\n },\n \"distinct_id\": {\n \"type\": \"string\",\n \"nullable\": true,\n \"maxLength\": 200\n },\n \"first_name\": {\n \"type\": \"string\",\n \"maxLength\": 150\n },\n \"last_name\": {\n \"type\": \"string\",\n \"maxLength\": 150\n },\n \"email\": {\n \"type\": \"string\",\n \"format\": \"email\",\n \"title\": \"Email address\",\n \"maxLength\": 254\n },\n \"is_email_verified\": {\n \"type\": \"boolean\",\n \"nullable\": true\n },\n \"hedgehog_config\": {\n \"type\": \"object\",\n \"additionalProperties\": {},\n \"nullable\": true,\n \"readOnly\": true\n },\n \"role_at_organization\": {\n \"nullable\": true,\n \"oneOf\": [\n {\n \"enum\": [\n \"engineering\",\n \"data\",\n \"product\",\n \"founder\",\n \"leadership\",\n \"marketing\",\n \"sales\",\n \"other\"\n ],\n \"type\": \"string\",\n \"description\": \"* `engineering` - Engineering\\n* `data` - Data\\n* `product` - Product Management\\n* `founder` - Founder\\n* `leadership` - Leadership\\n* `marketing` - Marketing\\n* `sales` - Sales / Success\\n* `other` - Other\"\n },\n {\n \"enum\": [\n \"\"\n ]\n },\n {\n \"enum\": [\n null\n ]\n }\n ]\n }\n },\n \"required\": [\n \"email\",\n \"hedgehog_config\",\n \"id\",\n \"uuid\"\n ]\n }\n ],\n \"readOnly\": true\n },\n \"errors\": {\n \"type\": \"string\",\n \"readOnly\": true\n },\n \"display_name\": {\n \"type\": \"string\",\n \"readOnly\": true\n }\n },\n \"required\": [\n \"created_at\",\n \"created_by\",\n \"display_name\",\n \"errors\",\n \"id\",\n \"kind\"\n ]\n }\n },\n \"application/x-www-form-urlencoded\": {\n \"schema\": {\n \"type\": \"object\",\n \"description\": \"Standard Integration serializer.\",\n \"properties\": {\n \"id\": {\n \"type\": \"integer\",\n \"readOnly\": true\n },\n \"kind\": {\n \"enum\": [\n \"slack\",\n \"salesforce\",\n \"hubspot\",\n \"google-pubsub\",\n \"google-cloud-storage\",\n \"google-ads\",\n \"google-sheets\",\n \"snapchat\",\n \"linkedin-ads\",\n \"reddit-ads\",\n \"tiktok-ads\",\n \"intercom\",\n \"email\",\n \"linear\",\n \"github\",\n \"meta-ads\",\n \"twilio\",\n \"clickup\",\n \"vercel\",\n \"databricks\"\n ],\n \"type\": \"string\",\n \"description\": \"* `slack` - Slack\\n* `salesforce` - Salesforce\\n* `hubspot` - Hubspot\\n* `google-pubsub` - Google Pubsub\\n* `google-cloud-storage` - Google Cloud Storage\\n* `google-ads` - Google Ads\\n* `google-sheets` - Google Sheets\\n* `snapchat` - Snapchat\\n* `linkedin-ads` - Linkedin Ads\\n* `reddit-ads` - Reddit Ads\\n* `tiktok-ads` - Tiktok Ads\\n* `intercom` - Intercom\\n* `email` - Email\\n* `linear` - Linear\\n* `github` - Github\\n* `meta-ads` - Meta Ads\\n* `twilio` - Twilio\\n* `clickup` - Clickup\\n* `vercel` - Vercel\\n* `databricks` - Databricks\"\n },\n \"config\": {},\n \"created_at\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"readOnly\": true\n },\n \"created_by\": {\n \"allOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"integer\",\n \"readOnly\": true\n },\n \"uuid\": {\n \"type\": \"string\",\n \"format\": \"uuid\",\n \"readOnly\": true\n },\n \"distinct_id\": {\n \"type\": \"string\",\n \"nullable\": true,\n \"maxLength\": 200\n },\n \"first_name\": {\n \"type\": \"string\",\n \"maxLength\": 150\n },\n \"last_name\": {\n \"type\": \"string\",\n \"maxLength\": 150\n },\n \"email\": {\n \"type\": \"string\",\n \"format\": \"email\",\n \"title\": \"Email address\",\n \"maxLength\": 254\n },\n \"is_email_verified\": {\n \"type\": \"boolean\",\n \"nullable\": true\n },\n \"hedgehog_config\": {\n \"type\": \"object\",\n \"additionalProperties\": {},\n \"nullable\": true,\n \"readOnly\": true\n },\n \"role_at_organization\": {\n \"nullable\": true,\n \"oneOf\": [\n {\n \"enum\": [\n \"engineering\",\n \"data\",\n \"product\",\n \"founder\",\n \"leadership\",\n \"marketing\",\n \"sales\",\n \"other\"\n ],\n \"type\": \"string\",\n \"description\": \"* `engineering` - Engineering\\n* `data` - Data\\n* `product` - Product Management\\n* `founder` - Founder\\n* `leadership` - Leadership\\n* `marketing` - Marketing\\n* `sales` - Sales / Success\\n* `other` - Other\"\n },\n {\n \"enum\": [\n \"\"\n ]\n },\n {\n \"enum\": [\n null\n ]\n }\n ]\n }\n },\n \"required\": [\n \"email\",\n \"hedgehog_config\",\n \"id\",\n \"uuid\"\n ]\n }\n ],\n \"readOnly\": true\n },\n \"errors\": {\n \"type\": \"string\",\n \"readOnly\": true\n },\n \"display_name\": {\n \"type\": \"string\",\n \"readOnly\": true\n }\n },\n \"required\": [\n \"created_at\",\n \"created_by\",\n \"display_name\",\n \"errors\",\n \"id\",\n \"kind\"\n ]\n }\n },\n \"multipart/form-data\": {\n \"schema\": {\n \"type\": \"object\",\n \"description\": \"Standard Integration serializer.\",\n \"properties\": {\n \"id\": {\n \"type\": \"integer\",\n \"readOnly\": true\n },\n \"kind\": {\n \"enum\": [\n \"slack\",\n \"salesforce\",\n \"hubspot\",\n \"google-pubsub\",\n \"google-cloud-storage\",\n \"google-ads\",\n \"google-sheets\",\n \"snapchat\",\n \"linkedin-ads\",\n \"reddit-ads\",\n \"tiktok-ads\",\n \"intercom\",\n \"email\",\n \"linear\",\n \"github\",\n \"meta-ads\",\n \"twilio\",\n \"clickup\",\n \"vercel\",\n \"databricks\"\n ],\n \"type\": \"string\",\n \"description\": \"* `slack` - Slack\\n* `salesforce` - Salesforce\\n* `hubspot` - Hubspot\\n* `google-pubsub` - Google Pubsub\\n* `google-cloud-storage` - Google Cloud Storage\\n* `google-ads` - Google Ads\\n* `google-sheets` - Google Sheets\\n* `snapchat` - Snapchat\\n* `linkedin-ads` - Linkedin Ads\\n* `reddit-ads` - Reddit Ads\\n* `tiktok-ads` - Tiktok Ads\\n* `intercom` - Intercom\\n* `email` - Email\\n* `linear` - Linear\\n* `github` - Github\\n* `meta-ads` - Meta Ads\\n* `twilio` - Twilio\\n* `clickup` - Clickup\\n* `vercel` - Vercel\\n* `databricks` - Databricks\"\n },\n \"config\": {},\n \"created_at\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"readOnly\": true\n },\n \"created_by\": {\n \"allOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"integer\",\n \"readOnly\": true\n },\n \"uuid\": {\n \"type\": \"string\",\n \"format\": \"uuid\",\n \"readOnly\": true\n },\n \"distinct_id\": {\n \"type\": \"string\",\n \"nullable\": true,\n \"maxLength\": 200\n },\n \"first_name\": {\n \"type\": \"string\",\n \"maxLength\": 150\n },\n \"last_name\": {\n \"type\": \"string\",\n \"maxLength\": 150\n },\n \"email\": {\n \"type\": \"string\",\n \"format\": \"email\",\n \"title\": \"Email address\",\n \"maxLength\": 254\n },\n \"is_email_verified\": {\n \"type\": \"boolean\",\n \"nullable\": true\n },\n \"hedgehog_config\": {\n \"type\": \"object\",\n \"additionalProperties\": {},\n \"nullable\": true,\n \"readOnly\": true\n },\n \"role_at_organization\": {\n \"nullable\": true,\n \"oneOf\": [\n {\n \"enum\": [\n \"engineering\",\n \"data\",\n \"product\",\n \"founder\",\n \"leadership\",\n \"marketing\",\n \"sales\",\n \"other\"\n ],\n \"type\": \"string\",\n \"description\": \"* `engineering` - Engineering\\n* `data` - Data\\n* `product` - Product Management\\n* `founder` - Founder\\n* `leadership` - Leadership\\n* `marketing` - Marketing\\n* `sales` - Sales / Success\\n* `other` - Other\"\n },\n {\n \"enum\": [\n \"\"\n ]\n },\n {\n \"enum\": [\n null\n ]\n }\n ]\n }\n },\n \"required\": [\n \"email\",\n \"hedgehog_config\",\n \"id\",\n \"uuid\"\n ]\n }\n ],\n \"readOnly\": true\n },\n \"errors\": {\n \"type\": \"string\",\n \"readOnly\": true\n },\n \"display_name\": {\n \"type\": \"string\",\n \"readOnly\": true\n }\n },\n \"required\": [\n \"created_at\",\n \"created_by\",\n \"display_name\",\n \"errors\",\n \"id\",\n \"kind\"\n ]\n }\n }\n },\n \"required\": true\n}",
|
|
"use_request_body_schema_mode": true,
|
|
"validate_request_body_schema": true
|
|
}
|
|
}
|