cURL
curl --request POST \ --url https://prolinks.pro/api/v1/organizations/{organizationId}/domains/{domainsId}/links \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "url": "<string>", "slug": "<string>", "description": "<string>", "campaign_source_id": 123, "campaign_medium_id": 123, "campaign_name_id": 123 } '
{ "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 link
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the organization
1
ID of the domain
Link to add
The link url
The link slug
The link description
The link campaign source
The link campaign medium
The link campaign name
link response
The Link id
Link
Show child attributes