Activities

Get Activities

GET /activities/{type}

Path Parameters

Name
Type
Description

type*

String

Options: events, campaigns, store

Headers

Name
Type
Description

Client-Key*

String

Your client key

Authorization*

String

Bearer Token

{
    "data": [
        {
            "id": "6d35b6b4-919e-410f-85d3-d9e5caeb64b7",
            "title": "Test Event Paid + Limit order without Form Regist",
            "start_date": "2023-12-13 09:00:00",
            "end_date": "2023-12-13 09:00:00",
            "remaining_days": "Berakhir"
        }
    ]
}

Get Activity Detail

GET /activities/{type}/{id}

Path Parameters

Name
Type
Description

type*

String

Options: events, campaigns, store

id

String

ID of the selected activity

Headers

Name
Type
Description

Client-Key*

String

Your client key

Authorization*

String

Bearer Token

Get Identifier

GET /activities/identifier

Headers

Name
Type
Description

Client-Key*

String

Your client key

View

POST /activities/{type}/views/{slug}

Path Parameters

Name
Type
Description

type*

String

Options, events, news, banners

slug*

String

Slug of either events or news ID if banners

Headers

Name
Type
Description

Client-Key*

String

Your client key

Authorization

String

Bearer Token (optional)

Request Body

Name
Type
Description

identifier*

String

Identifier

Share

POST /activities/{type}/shares/{slug}

Path Parameters

Name
Type
Description

type*

String

Options, banners, events or news

slug*

String

Slug of either events or news

ID if banners

Headers

Name
Type
Description

Client-Key*

String

Your client key

Authorization

String

Bearer Token (optional)

Request Body

Name
Type
Description

identifier*

String

Identifier

Click

POST /activities/{type}/clicks/{slug}

Path Parameters

Name
Type
Description

type*

String

Options, events, news, banners

slug*

String

Slug of either events or news ID if banners

Headers

Name
Type
Description

Client-Key*

String

Your client key

Authorization

String

Bearer Token (optional)

Request Body

Name
Type
Description

identifier*

String

Identifier

Last updated