Pitch
App · 20 actions
Browse templates, create presentations, and inspect sharing links and analytics in Pitch.
Actions
| Action | What it does |
|---|---|
| Create folder | Create a folder in a teamspace or in the caller's private space, at the top level or inside another folder. |
| Create presentation link | Create a link for an existing presentation. |
| Create presentations using variables | Create one or more presentations from a template, deterministically substituting variable values. |
| Get current workspace | Get the workspace the caller's API key is scoped to. |
| Get job | Get the status and result of an asynchronous job. |
| Get presentation | Get a presentation by ID: its editor and player URLs plus metadata; pass include_content=true for the content as Markdown, or include_images=true for the images placed on its slides. |
| Get presentation link analytics | Get a link's engagement analytics, aggregated across all of its visits. |
| Get presentation link visit | Get one visit of a link, including how long the visitor spent on each slide they reached. |
| Get teamspace | Get a teamspace by ID. |
| Get template | Get a published template by ID, whether from the workspace or Pitch's gallery. |
| List folders | List folders in a teamspace, in the caller's private space, or shared with the caller by other members. |
| List presentation link visits | List a link's individual visits, newest first. |
| List presentation links | List a presentation's links. |
| List teamspaces | List teamspaces in the workspace. |
| List templates | List published workspace templates, or Pitch's built-in gallery templates. |
| Move content | Move presentations and folders into a teamspace, folder or private space. |
| Rename content | Rename a presentation or folder. |
| Search presentations | Search presentations by title, across everything the caller can access in the workspace. |
| Update presentation link | Update a link's options or disabled state. |
| Update presentation variables | Update an existing presentation's variables. |
Create folder
Create a folder in a teamspace or in the caller's private space, at the top level or inside another folder.
Inputs
- Name
record_nametextRequired - Name of the new folder.
- Teamspace
teamspace_idtext - Teamspace id.
- Parent ID
parent_idtext - Parent id.
Outputs
dataobject- The response from Pitch.
Example output
{
"data": {
"data": {
"created_at": "example",
"folder_id": "example",
"name": "example",
"owner": {
"id": "example",
"name": "example"
},
"parent_id": "example",
"updated_at": "example"
}
}
}Create presentation link
Create a link for an existing presentation.
Inputs
- Presentation ID
presentation_idtextRequired - UUID of the presentation.
- Name
record_nametext - Display label for the link. Defaults to the presentation name.
- Slug
slugtext - Human-readable portion of the link URL. A random suffix is always appended, so collisions are impossible. Defaults to the presentation name.
- Options
optionsobject - Link configuration. All booleans default to false, e.g. `{"collect_engagement_analytics": true, "require_passcode": true, "passcode": "q3-acme"}`.
Outputs
dataobject- The response from Pitch.
Example output
{
"data": {
"managed_link": {
"created_at": "example",
"disabled": false,
"id": "example",
"link_id": "example",
"name": "example",
"options": {
"allow_duplication": false,
"allow_pdf_download": false,
"collect_engagement_analytics": false,
"disable_after": "example",
"require_passcode": false,
"require_visitor_consent_for_analytics": false,
"require_visitor_email": false
},
"presentation_id": "example",
"slug": "example",
"url": "example"
}
}
}Create presentations using variables
Create one or more presentations from a template, deterministically substituting variable values. The call fails with capability_not_available when the workspace plan does not include creating presentations with variables.
Inputs
- Template
template_idtextRequired - UUID of a template, from list-templates.
- Data
datalistRequired - One object per presentation to create. Each item has a `name` (the presentation's file name) and a `variables` map of template variable names to their replacement values, e.g. `[{"name": "Q3 Review. ACME", "variables": {"customer_name": "ACME", "quarter": "Q3"}}]`.
- Folder
folder_idtext - Folder id.
- Teamspace
teamspace_idtext - Teamspace id.
Outputs
dataobject- The response from Pitch.
Example output
{
"data": {
"data": {
"job_id": "example",
"status": "example"
}
}
}Get current workspace
Get the workspace the caller's API key is scoped to.
Inputs
None.
Outputs
dataobject- The response from Pitch.
Example output
{
"data": {
"data": {
"created_at": "example",
"gallery_templates_hidden": false,
"logo_url": "example",
"member_count": 1,
"name": "example",
"usage": {
"additional_ai": {
"quota": {},
"usage": 1
},
"advanced_links": {
"quota": {},
"usage": 1
},
"included_ai": {
"quota": {},
"usage": 1
},
"room_links": {
"quota": {},
"usage": 1
},
"teamspaces": {
"quota": {},
"usage": 1
},
"workspace_members_limit": {
"quota": {},
"usage": 1
}
},
"workspace_id": "example"
}
}
}Get job
Get the status and result of an asynchronous job.
Inputs
- Job ID
job_idtextRequired - Job UUID returned by create-presentation-with-variables, create-presentation-with-agent, edit-presentation-with-agent, update-presentation-variables, or move-content.
Outputs
dataobject- The response from Pitch.
Example output
{
"data": {
"data": {
"job_id": "example",
"status": "example"
}
}
}Get presentation
Get a presentation by ID: its editor and player URLs plus metadata; pass include_content=true for the content as Markdown, or include_images=true for the images placed on its slides.
Inputs
- Presentation ID
presentation_idtextRequired - UUID of the presentation.
- Include content
include_contenttrue/false - Include the presentation's textual content as Markdown (default false).
- Include metadata
include_metadatatrue/false - Include location/ownership/edit-history metadata (default true).
- Include variables
include_variablestrue/false - Include the presentation's in-use variables (default false).
- Include images
include_imagestrue/false - Include the images placed on the slides, each with its URL (default false).
- Include hidden slides
include_hidden_slidestrue/false - Include hidden slides in the Markdown content and the image list (default false). Only meaningful together with include_content or include_images.
Outputs
dataobject- The response from Pitch.
Example output
{
"data": {
"data": {
"editor_url": "example",
"images": [],
"markdown": "example",
"metadata": {
"author": {
"id": "example",
"name": {}
},
"breadcrumb": [],
"created_at": "example",
"last_edited_at": "example",
"last_edited_by": {
"id": "example",
"name": {}
},
"owner": {
"id": "example",
"name": {}
}
},
"player_url": "example",
"presentation_id": "example",
"title": "example",
"variables": []
}
}
}Get presentation link analytics
Get a link's engagement analytics, aggregated across all of its visits.
Inputs
- Presentation ID
presentation_idtextRequired - UUID of the presentation.
- Link ID
link_idtextRequired - UUID of the managed link.
- Interval
intervaltext - Time window the visit counts cover (default all-time). Scopes visits_count and visits_over_time only. the medians and the slide breakdown always cover every visit the link ever got.One of:
all-time,24-hours,7-days,14-days,30-days,90-days. - Include slide breakdown
include_slide_breakdowntrue/false - Set true to also get per-slide view counts and median time on slide (default false, one entry per visible slide).
Outputs
dataobject- The response from Pitch.
Example output
{
"data": {
"analytics": {
"engagement_analytics_enabled": false,
"interval": "all-time",
"link_id": "example",
"median_slides_viewed_percentage": 1,
"median_visit_duration_seconds": 1,
"presentation_id": "example",
"slides": [],
"visits_count": 1,
"visits_over_time": {
"bucket": "hour",
"points": []
}
}
}
}Get presentation link visit
Get one visit of a link, including how long the visitor spent on each slide they reached.
Inputs
- Presentation ID
presentation_idtextRequired - UUID of the presentation the link belongs to.
- Link ID
link_idtextRequired - UUID of the link the visit belongs to.
- Visit ID
visit_idtextRequired - UUID of the visit, as returned by the visit list.
Outputs
dataobject- The response from Pitch.
Example output
{
"data": {
"visit": {
"at": "example",
"browser": "example",
"country": "example",
"device_type": "example",
"duration_seconds": 1,
"embed": false,
"slides": [],
"slides_reached": 1,
"slides_total": 1,
"tracking_level": "basic",
"visit_id": "example",
"visitor_email": "example"
}
}
}Get teamspace
Get a teamspace by ID.
Inputs
- Teamspace
teamspace_idtextRequired - Teamspace UUID to fetch.
Outputs
dataobject- The response from Pitch.
Example output
{
"data": {
"data": {
"avatar": {
"color": "example",
"icon": "example",
"type": "icon"
},
"created_at": "example",
"description": "example",
"join_policy": "open",
"members_can_invite": false,
"name": "example",
"teamspace_id": "example",
"updated_at": "example",
"workspace_id": "example"
}
}
}Get template
Get a published template by ID, whether from the workspace or Pitch's gallery.
Inputs
- Template
template_idtextRequired - Template UUID, as returned by list-templates.
Outputs
dataobject- The response from Pitch.
Example output
{
"data": {
"data": {
"created_at": "example",
"name": "example",
"source": "example",
"template_id": "example",
"updated_at": "example",
"variables": []
}
}
}List folders
List folders in a teamspace, in the caller's private space, or shared with the caller by other members.
Inputs
- Teamspace
teamspace_idtext - Teamspace UUID to list folders for. When omitted, folders in the caller's private space are listed.
- Shared with me
shared_with_metrue/false - true: the folders other members shared with the caller from their private spaces. Cannot be combined with teamspace_id.
- Limit
limitnumber - Maximum number of folders to return (default 20, max 100).From 1 to 100.
- Cursor
cursortext - Opaque pagination cursor returned by a previous call.
Outputs
dataobject- The response from Pitch.
Example output
{
"data": {
"data": [],
"pagination": {
"has_more": false,
"next_cursor": "example"
}
}
}List presentation link visits
List a link's individual visits, newest first.
Inputs
- Presentation ID
presentation_idtextRequired - UUID of the presentation.
- Link ID
link_idtextRequired - UUID of the managed link.
- Limit
limitnumber - Maximum number of visits to return (default 20, max 100).From 1 to 100.
- Cursor
cursortext - Opaque pagination cursor returned by a previous call.
Outputs
dataobject- The response from Pitch.
Example output
{
"data": {
"data": [],
"pagination": {
"has_more": false,
"next_cursor": "example"
}
}
}List presentation links
List a presentation's links.
Inputs
- Presentation ID
presentation_idtextRequired - UUID of the presentation.
Outputs
dataobject- The response from Pitch.
Example output
{
"data": {
"managed_links": []
}
}List teamspaces
List teamspaces in the workspace. Hidden teamspaces are included only for admins/owners and their members.
Inputs
- Limit
limitnumber - Maximum number of teamspaces to return (default 20, max 100).From 1 to 100.
- Cursor
cursortext - Opaque pagination cursor returned by a previous call.
Outputs
dataobject- The response from Pitch.
Example output
{
"data": {
"data": [],
"pagination": {
"has_more": false,
"next_cursor": "example"
}
}
}List templates
List published workspace templates, or Pitch's built-in gallery templates.
Inputs
- Source
sourcetext - Which templates to list: "workspace" for the workspace's published templates, "gallery" for Pitch's built-in gallery templates. "gallery" is rejected when the workspace admin has hidden gallery templates.One of:
workspace,gallery. - Include gallery templates
include_gallery_templatestrue/false - Deprecated: use source. Also include Pitch's built-in gallery templates (default false). When true, workspace templates are returned first, then gallery templates, and every template carries a `source` of "workspace" or "gallery". Rejected when the workspace admin has hidden gallery templates. Ignored when source is set.
- Limit
limitnumber - Maximum number of templates to return (default 20, max 100).From 1 to 100.
- Cursor
cursortext - Opaque pagination cursor returned by a previous call.
Outputs
dataobject- The response from Pitch.
Example output
{
"data": {
"data": [],
"pagination": {
"has_more": false,
"next_cursor": "example"
}
}
}Move content
Move presentations and folders into a teamspace, folder or private space.
Inputs
- Presentation IDs
presentation_idslist - UUIDs of the presentations to move.
- Folder IDs
folder_idslist - UUIDs of the folders to move. Everything inside a folder moves with it.
- Target teamspace ID
target_teamspace_idtext - Target teamspace id.
- Target folder ID
target_folder_idtext - Target folder id.
Outputs
dataobject- The response from Pitch.
Example output
{
"data": {
"data": {
"job_id": "example",
"moved_folders": [],
"moved_items": 1,
"status": "complete",
"total_items": 1,
"unshared_count": 1
}
}
}Rename content
Rename a presentation or folder.
Inputs
- Presentation ID
presentation_idtext - Presentation id.
- Folder
folder_idtext - Folder id.
- Name
record_nametextRequired - The new name. Renaming a presentation changes its file name, not the title on its slides.
Outputs
dataobject- The response from Pitch.
Example output
{
"data": {
"data": {
"folder_id": "example",
"name": "example",
"presentation_id": "example",
"previous_name": "example"
}
}
}Search presentations
Search presentations by title, across everything the caller can access in the workspace.
Inputs
- Query
querytextRequired - Text to match against presentation titles.
- Limit
limitnumber - Maximum number of presentations to return (default 20, max 100).From 1 to 100.
Outputs
dataobject- The response from Pitch.
Example output
{
"data": {
"data": []
}
}Update presentation link
Update a link's options or disabled state.
Inputs
- Presentation ID
presentation_idtextRequired - UUID of the presentation.
- Link ID
link_idtextRequired - UUID of the managed link.
- Name
record_nametext - New display label for the link.
- Slug
slugtext - New human-readable portion of the link URL. The random suffix is preserved.
- Disabled
disabledtrue/false - Set true to disable the link (it stops resolving), or false to re-enable it.
- Options
optionsobject - Link configuration fields to change. Only the fields you include are modified; the rest are left as they are, e.g. `{"allow_pdf_download": true, "disable_after": "2027-01-31T00:00:00Z"}`.
Outputs
dataobject- The response from Pitch.
Example output
{
"data": {
"managed_link": {
"created_at": "example",
"disabled": false,
"id": "example",
"link_id": "example",
"name": "example",
"options": {
"allow_duplication": false,
"allow_pdf_download": false,
"collect_engagement_analytics": false,
"disable_after": "example",
"require_passcode": false,
"require_visitor_consent_for_analytics": false,
"require_visitor_email": false
},
"presentation_id": "example",
"slug": "example",
"url": "example"
}
}
}Update presentation variables
Update an existing presentation's variables.
Inputs
- Presentation ID
presentation_idtextRequired - UUID of the presentation to update. Use search to find it.
- Variables
variablesobjectRequired - Variable names mapped to their new string values, e.g. `{"customer_name": "ACME", "quarter": "Q3"}`. Only the variables present here are updated; any variable omitted keeps its current value. Every name must be a text variable the presentation defines, otherwise the call is rejected. Must be a non-empty map.
Outputs
dataobject- The response from Pitch.
Example output
{
"data": {
"data": {
"job_id": "example",
"status": "example"
}
}
}