GET
/
get_campaigns
curl --request GET \
  --url https://api.toingg.com/api/v3/get_campaigns \
  --header 'Authorization: Bearer <token>'
"<any>"

Overview

The “Get Campaigns” endpoint allows users to retrieve a list of all campaigns in Toingg. By sending a GET request to the /get_campaigns endpoint, users can obtain detailed information about each campaign, including its status, creation date, and other relevant details. This endpoint is useful for managing and reviewing campaign performance.

Example cURL Request

curl -X 'GET' \
  'https://api.toingg.com/api/v3/get_campaigns' \
  -H 'accept: application/json' \
  -H 'Authorization: Bearer yourBearerToken'

Response

The response will include the following fields for each campaign:

  • campaignId: A unique identifier for the campaign.
  • name: The name of the campaign.
  • status: The current status of the campaign (e.g., “active”, “paused”, “completed”).
  • creationDate: The date and time when the campaign was created.
  • details: Additional details about the campaign, if any.

These details help users manage and analyze their campaigns effectively, providing insights into their performance and status.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

skip
integer
default:0
limit
integer
default:10
sort
integer
default:-1

Response

200
application/json
Successful Response

The response is of type any.