Create a pipeline record link
post/api/v1/pipelines/records/{recordId}/linksCreates a new link and associates it with the specified pipeline record. Each link contains a name and a URL that points to an external resource related to the pipeline record.
Code snippet
curl -X 'POST' \
'https://{yourdomain}/api/v1/pipelines/records/{recordId}/links' \
-H 'accept: text/plain; x-api-version=1.0' \
-H 'x-api-key: {your API key}' \
-H 'Content-Type: application/json-patch+json; x-api-version=1.0' \
-d '{
"data": {
"name": "Company Website",
"url": "https://www.example.com"
}
}'
Path parameters
| recordIdintegerRequired | The unique identifier of the pipeline record with which the link will be associated. |
Request body
| namestringRequired | The display name of the link used for identification purposes. |
| urlstringRequired | The URL to which the link points. Must be a valid HTTP or HTTPS URL. |
Example response
201 Created
{
"message": "Link added successfully.",
"data": {
"id": 1
}
}