cURL
curl --request POST \ --url https://prolinks.pro/api/v1/organizations/{organizationId}/campaign-mediums \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>" } '
{ "id": 123, "type": "<string>", "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>" } } ] } }
Creates a new Campaing Medium
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the organization
1
Campaign Medium to add
The name
Campaign Medium response
The Campaign Medium id
Campaign Medium
Show child attributes