Skip to main content

InteractionschemasService

A list of all methods in the InteractionschemasService service. Click on the method name to view detailed information about that method.

MethodsDescription
interaction_schema_get_interaction_schemasRetrieve all InteractionSchemas.
interaction_schema_create_interaction_schemaCreate a new InteractionSchema.
interaction_schema_get_interaction_schemaRetrieve a specific InteractionSchema by providing the schemaId.
interaction_schema_delete_interaction_schemaDelete InteractionSchema by providing the schemaId.

interaction_schema_get_interaction_schemas

Retrieve all InteractionSchemas.

  • HTTP Method: GET
  • Endpoint: /api/v2/interactionschemas

Return Type

List[InteractionSchemaWithoutJsonModel]

Example Usage Code Snippet

from voyado_engage import VoyadoEngage, Environment

sdk = VoyadoEngage(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value
)

result = sdk.interactionschemas.interaction_schema_get_interaction_schemas()

print(result)

interaction_schema_create_interaction_schema

Create a new InteractionSchema.

  • HTTP Method: POST
  • Endpoint: /api/v2/interactionschemas

Parameters

NameTypeRequiredDescription
request_bodyanyThe request body.

Return Type

InteractionSchemaResponse

Example Usage Code Snippet

from voyado_engage import VoyadoEngage, Environment
from voyado_engage.models import any

sdk = VoyadoEngage(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value
)

request_body = ""

result = sdk.interactionschemas.interaction_schema_create_interaction_schema(request_body=request_body)

print(result)

interaction_schema_get_interaction_schema

Retrieve a specific InteractionSchema by providing the schemaId.

  • HTTP Method: GET
  • Endpoint: /api/v2/interactionschemas/{interactionSchemaId}

Parameters

NameTypeRequiredDescription
interaction_schema_idstr

Return Type

InteractionSchemaModel

Example Usage Code Snippet

from voyado_engage import VoyadoEngage, Environment

sdk = VoyadoEngage(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value
)

result = sdk.interactionschemas.interaction_schema_get_interaction_schema(interaction_schema_id="interactionSchemaId")

print(result)

interaction_schema_delete_interaction_schema

Delete InteractionSchema by providing the schemaId.

  • HTTP Method: DELETE
  • Endpoint: /api/v2/interactionschemas/{interactionSchemaId}

Parameters

NameTypeRequiredDescription
interaction_schema_idstr

Example Usage Code Snippet

from voyado_engage import VoyadoEngage, Environment

sdk = VoyadoEngage(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value
)

result = sdk.interactionschemas.interaction_schema_delete_interaction_schema(interaction_schema_id="interactionSchemaId")

print(result)

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →