How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

PostHog actions API

The actions API from PostHog — 4 operation(s) for actions.

PostHog actions API is one of 139 APIs that PostHog publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Actions. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, authentication docs, and an AsyncAPI specification.

This API exposes 8 operations across 4 paths, and defines 27 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

Requests are made against a single base URL, https://app.posthog.com/api.

8 operations 4 paths 27 schemas 1 DELETE3 GET1 PATCH2 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://app.posthog.com/api
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

PostHog actions API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (PersonalAPIKeyAuth).

Paths & Operations 8

Across 4 paths, the API surfaces 8 operations — 1 DELETE, 3 GET, 1 PATCH, 2 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

actions 8
GET
/api/projects/{project_id}/actions/
actions_list 4 params → 200
POST
/api/projects/{project_id}/actions/
actions_create 2 params body → 201
GET
/api/projects/{project_id}/actions/{id}/
actions_retrieve 3 params → 200
PUT
/api/projects/{project_id}/actions/{id}/
actions_update 3 params body → 200
PATCH
/api/projects/{project_id}/actions/{id}/
actions_partial_update 3 params body → 200
DELETE
/api/projects/{project_id}/actions/{id}/
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
actions_destroy 3 params → 405
GET
/api/projects/{project_id}/actions/{id}/references/
actions_references_list 3 params → 200
POST
/api/projects/{project_id}/actions/bulk_update_tags/
Bulk update tags on multiple objects. Accepts: - {"ids": [...], "action": "add"|"remove"|"set", "tags": ["tag1", "tag2"]} Actions: - "add": Add tags to existing tags on each object - "remove": Remove…
actions_bulk_update_tags_create 2 params body → 200

Schemas 27

The contract defines 27 schemas that model the data the API accepts and returns. The most detailed are PatchedAction (19 properties), Action (19 properties), ActionStepJSON (11 properties), UserBasic (9 properties). Each schema is shown below with its type and property counts.

ActionReference
object
6 properties 6 required
NumericPropertyFilter
object
Matches numeric values with comparison operators.
4 properties 2 required
ActionStepMatchingEnum
string
contains - contains regex - regex exact - exact
NullEnum
ActionStepJSON
object
11 properties 1 required
BulkUpdateTagsResponse
object
2 properties 2 required
BulkUpdateTagsError
object
2 properties 2 required
DateOperatorEnum
string
isdateexact - isdateexact isdatebefore - isdatebefore isdateafter - isdateafter
ExistencePropertyFilter
object
Checks whether a property is set or not, without comparing values.
3 properties 2 required
ActionEnum
string
add - add remove - remove set - set
NumericPropertyFilterOperatorEnum
string
exact - exact isnot - isnot gt - gt lt - lt gte - gte lte - lte
BulkUpdateTagsRequest
object
3 properties 3 required
DatePropertyFilter
object
Matches date/datetime values with date-specific operators.
4 properties 2 required
ArrayPropertyFilter
object
Matches against a list of values (OR semantics for exact/isnot, set membership for in/notin).
4 properties 2 required
Action
object
Serializer mixin that handles tags for objects.
19 properties 9 required
ExistenceOperatorEnum
string
isset - isset isnotset - isnotset
ActionStepPropertyFilter
StringMatchOperatorEnum
string
exact - exact isnot - isnot icontains - icontains noticontains - noticontains regex - regex notregex - notregex
BulkUpdateTagsItem
object
2 properties 2 required
UserBasic
object
9 properties 4 required
PropertyFilterTypeEnum
string
event - event eventmetadata - eventmetadata feature - feature person - person cohort - cohort element - element static-cohort - static-cohort dynamic-cohort -…
BlankEnum
RoleAtOrganizationEnum
string
engineering - Engineering data - Data product - Product Management founder - Founder leadership - Leadership marketing - Marketing sales - Sales / Success othe…
PatchedAction
object
Serializer mixin that handles tags for objects.
19 properties
ArrayPropertyFilterOperatorEnum
string
exact - exact isnot - isnot in - in notin - notin
PaginatedActionList
object
4 properties 2 required
StringPropertyFilter
object
Matches string values with text-oriented operators.
4 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

posthog-actions-api-openapi.yml Raw ↑

Other APIs PostHog publishes across the network.

PostHog Capture API
PostHog Query API
PostHog Persons API
PostHog Feature Flags API
PostHog Experiments API
PostHog Insights API
PostHog Cohorts API
PostHog Annotations API
PostHog activity_log API
PostHog activity_logs API
PostHog advanced_activity_logs API
PostHog alerts API
Where this information came from

This is an independent, third-party profile of PostHog actions API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.