POST
/
v1
/
link
curl --request POST \
  --url http://localhost:8000/api/v1/link \
  --header 'Content-Type: application/json' \
  --data '{
  "category": [
    {}
  ],
  "integrationDefinitionId": "<string>",
  "expiresIn": 123,
  "linkName": "<string>",
  "workspaceId": "0a58f56e-3f59-4f4e-a8e1-a9e47aae5c3c"
}'
{
  "linkId": "<string>",
  "linkName": "<string>",
  "canExpire": true,
  "preferOAuth": true,
  "expiresIn": 123,
  "category": [
    {}
  ],
  "workspaceId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "IntegrationAccount": [
    {
      "integrationAccountId": "<string>",
      "integrationDefinitionId": "<string>",
      "integrationConfiguration": {},
      "authType": "<string>",
      "workspaceId": "<string>",
      "integrationAccountName": "<string>",
      "deleted": "2023-11-07T05:31:56Z",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "linkId": "<string>"
    }
  ]
}

Body

application/json

Response

201
application/json

The response is of type object.