Skip to main content
cURL
curl --request POST \
  --url https://prolinks.pro/api/v1/organizations/{organizationId}/campaign-names \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "id": 123,
  "type": "Campaign Name",
  "attributes": {
    "name": "<string>"
  },
  "relationships": {
    "links": [
      {
        "id": 123,
        "type": "<string>",
        "attributes": {
          "organization": "<string>",
          "domain": "<string>",
          "slug": "<string>",
          "url": "<string>",
          "description": "<string>",
          "campaign_source": "<string>",
          "campaign_medium": "<string>",
          "campaign_name": "<string>",
          "is_active": 123,
          "final_url": "<string>"
        }
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationId
string
required

ID of the organization

Example:

1

Body

application/json

Campaign Name to add

name
string
required

The name

Response

200 - application/json

Campaign Name response

id
integer

The Campaign Name id

type
string

Campaign Name

Example:

"Campaign Name"

attributes
object
relationships
object