Pipeline Destination
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
List all pipeline destination configs
Required API key scopes
plugin:read
Path parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Query parameters
- limitinteger
Number of results to return per page.
- offsetinteger
The initial index from which to return the results.
Response
Request
GET
/api /projects /:project_id /pipeline_destination_configs
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/projects/:project_id/pipeline_destination_configs/
Response
Status 200
{"count": 123,"next": "http://api.example.org/accounts/?offset=400&limit=100","previous": "http://api.example.org/accounts/?offset=200&limit=100","results": [{"id": 0,"plugin": 0,"enabled": true,"order": -2147483648,"config": "string","error": "string","team_id": 0,"plugin_info": "string","delivery_rate_24h": "string","created_at": "2019-08-24T14:15:22Z","updated_at": "2019-08-24T14:15:22Z","name": "string","description": "string","deleted": true}]}
Create pipeline destination configs
Required API key scopes
plugin:write
Path parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- plugininteger
- enabledboolean
- orderinteger
- namestring
- descriptionstring
- deletedboolean
Response
Request
POST
/api /projects /:project_id /pipeline_destination_configs
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl-H 'Content-Type: application/json'\-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/projects/:project_id/pipeline_destination_configs/\-d plugin="integer",\-d order="integer"
Response
Status 201
{"id": 0,"plugin": 0,"enabled": true,"order": -2147483648,"config": "string","error": "string","team_id": 0,"plugin_info": "string","delivery_rate_24h": "string","created_at": "2019-08-24T14:15:22Z","updated_at": "2019-08-24T14:15:22Z","name": "string","description": "string","deleted": true}
Retrieve pipeline destination configs
Required API key scopes
plugin:read
Path parameters
- idinteger
A unique integer value identifying this plugin config.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Response
Request
GET
/api /projects /:project_id /pipeline_destination_configs /:id
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/projects/:project_id/pipeline_destination_configs/:id/
Response
Status 200
{"id": 0,"plugin": 0,"enabled": true,"order": -2147483648,"config": "string","error": "string","team_id": 0,"plugin_info": "string","delivery_rate_24h": "string","created_at": "2019-08-24T14:15:22Z","updated_at": "2019-08-24T14:15:22Z","name": "string","description": "string","deleted": true}
Update pipeline destination configs
Required API key scopes
plugin:write
Path parameters
- idinteger
A unique integer value identifying this plugin config.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- plugininteger
- enabledboolean
- orderinteger
- namestring
- descriptionstring
- deletedboolean
Response
Request
PATCH
/api /projects /:project_id /pipeline_destination_configs /:id
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl -X PATCH \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/projects/:project_id/pipeline_destination_configs/:id/\-d plugin="integer"
Response
Status 200
{"id": 0,"plugin": 0,"enabled": true,"order": -2147483648,"config": "string","error": "string","team_id": 0,"plugin_info": "string","delivery_rate_24h": "string","created_at": "2019-08-24T14:15:22Z","updated_at": "2019-08-24T14:15:22Z","name": "string","description": "string","deleted": true}
Delete pipeline destination configs
Required API key scopes
plugin:write
Path parameters
- idinteger
A unique integer value identifying this plugin config.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request
DELETE
/api /projects /:project_id /pipeline_destination_configs /:id
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl -X DELETE \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/projects/:project_id/pipeline_destination_configs/:id/
Response
Status 204 No response body
Retrieve pipeline destination configs activity
Path parameters
- idinteger
A unique integer value identifying this plugin config.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request
GET
/api /projects /:project_id /pipeline_destination_configs /:id /activity
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/projects/:project_id/pipeline_destination_configs/:id/activity/
Response
Status 200 No response body
Retrieve pipeline destination configs frontend
Path parameters
- idinteger
A unique integer value identifying this plugin config.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request
GET
/api /projects /:project_id /pipeline_destination_configs /:id /frontend
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/projects/:project_id/pipeline_destination_configs/:id/frontend/
Response
Status 200 No response body
Create pipeline destination configs job
Path parameters
- idinteger
A unique integer value identifying this plugin config.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- plugininteger
- enabledboolean
- orderinteger
- namestring
- descriptionstring
- deletedboolean
Request
POST
/api /projects /:project_id /pipeline_destination_configs /:id /job
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl-H 'Content-Type: application/json'\-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/projects/:project_id/pipeline_destination_configs/:id/job/\-d plugin="integer",\-d order="integer"
Response
Status 200 No response body
Create pipeline destination configs migrate
Path parameters
- idinteger
A unique integer value identifying this plugin config.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- plugininteger
- enabledboolean
- orderinteger
- namestring
- descriptionstring
- deletedboolean
Request
POST
/api /projects /:project_id /pipeline_destination_configs /:id /migrate
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl-H 'Content-Type: application/json'\-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/projects/:project_id/pipeline_destination_configs/:id/migrate/\-d plugin="integer",\-d order="integer"
Response
Status 200 No response body
Update pipeline destination configs rearrange
Path parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- plugininteger
- enabledboolean
- orderinteger
- namestring
- descriptionstring
- deletedboolean
Request
PATCH
/api /projects /:project_id /pipeline_destination_configs /rearrange
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl -X PATCH \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/projects/:project_id/pipeline_destination_configs/rearrange/\-d plugin="integer"