presentation | string | Yes | - | Google Slides presentation URL or ID. You must ask the user for it if not provided. |
identifier_type | string or SelectableOption | Yes | - | Method to identify the slide to duplicate. Available options: ‘slide_number’ - Identify slide by its position in the presentation (1-based indexing) ‘slide_id’ - Identify slide by its unique Google Slides object ID Slide Number is recommended for most use cases as it’s easier to work with. Slide IDs are unique identifiers that don’t change but are harder to determine. |
slide_number | integer | No | - | Number of the slide to duplicate (1-based indexing, starting from 1). REQUIRED when identifier_type is ‘slide_number’. MUST BE NULL/EMPTY when identifier_type is ‘slide_id’ - clear this field if identifier_type changes to ‘slide_id’. Must be a positive integer. Example: 1 for first slide, 2 for second slide, etc. |
slide_id | string | No | - | Unique Google Slides object ID of the slide to duplicate. REQUIRED when identifier_type is ‘slide_id’. MUST BE NULL/EMPTY when identifier_type is ‘slide_number’ - clear this field if identifier_type changes to ‘slide_number’. Example format: ‘g1a82910c99_0_0’ You can find slide IDs in the Google Slides API or by inspecting the presentation. |
insertion_position | string or SelectableOption | Yes | - | Where to place the duplicated slide in the presentation. Available options: ‘after_original’ - Place the duplicate immediately after the original slide (DEFAULT) ‘at_beginning’ - Place the duplicate as the first slide in the presentation ‘at_end’ - Place the duplicate as the last slide in the presentation ‘custom_position’ - Place the duplicate at a specific position (requires custom_position field) ‘After original slide’ is recommended as it keeps related slides together. |
custom_position | integer | No | - | Position where to insert the duplicated slide (1-based indexing, starting from 1). REQUIRED when insertion_position is ‘custom_position’. MUST BE NULL/EMPTY when insertion_position is not ‘custom_position’ - clear this field if insertion_position changes. Must be a positive integer. Example: 1 for beginning, 3 for third position, etc. If the specified position exceeds the total number of slides, the slide will be placed at the end. |