Segment Export

Find Segment

Obtains the customers of a previously scheduled segment

GET https://api.woowup.com/apiv3/export/segments/{id}

Use last_update attribute to check if segment was updated

Headers

NameTypeDescription

Authorization*

String

Basic {{API-KEY}}

Content-Type*

String

application/json

Accept*

String

application/json

{
    "payload": {
        "segment": {
            "id": 1,
            "title": "test",
            "url": "https://example.com",
            "last_update": "YYYY-MM-DD HH:mm:ss"
        }
    },
    "message": "",
    "code": "ok",
    "time": "1ms"
}

Schedule Segment

The export will be updated daily with clients who meet the conditions of the segment

POST https://api.woowup.com/apiv3/export/segments/{id}

Headers

NameTypeDescription

Authorization

String

Basic {{API-KEY}}

Content-Type

String

application/json

Accept

String

application/json

{
    "payload": [],
    "message": "Scheduled segment, in 24 hs the segment is going to be ready to export",
    "code": "ok",
    "time": "17ms"
}

Unschedule Segment

The export will stop updating and will no longer be available

DELETE https://api.woowup.com/apiv3/export/segments/{id}

Headers

NameTypeDescription

Authorization

String

Basic {{API-KEY}}

Content-Type

String

application/json

Accept

String

application/json

{
    "payload": [],
    "message": "Unscheduled segment",
    "code": "ok",
    "time": "21ms"
}

Last updated