Flows Api Service

Update a flow

put/v2/flows/{id}

Request

  • Base URL: https://app.metricool.com/api
  • URL: https://app.metricool.com/api/v2/flows/{id}
  • Auth: none declared

Path parameters

idinteger required

Flow identifier

Request body

namestring required

Flow name

statusstring required

Flow status

triggerConfigobject required

Trigger configuration defining when the flow is activated

actionsConfigobject required

Actions configuration defining what the flow does when triggered

Example request

{
  "name": "Updated flow name",
  "status": "ACTIVE"
}

Response

Flow updated successfully

metadataobject

Example response

{
  "data": {
    "id": 1001,
    "name": "Welcome DM on comment",
    "flowType": "COMMENT_WITH_KEYWORD",
    "socialNetwork": "INSTAGRAM",
    "status": "ACTIVE",
    "creatorUserId": 42,
    "creatorAgencyId": 10,
    "creatorAgencyUserId": 5,
    "profileConnected": true
  }
}

Changes

No recorded changes to this operation across all 6 revisions of this API.