curl --request POST \
--url https://api.portable.io/v2/destinations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"destinationSpec": "<string>",
"displayName": "<string>",
"properties": {}
}
'{
"data": {
"id": 123,
"destinationSpec": {
"name": "<string>",
"displayName": "<string>",
"website": "<string>",
"tagLine": "<string>",
"lifecycle": "ALPHA",
"instructions": "<string>",
"propertyDefinitions": [
{
"name": "<string>",
"type": "STRING",
"required": true,
"displayName": "<string>",
"description": "<string>"
}
]
},
"displayName": "<string>",
"properties": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}Create a new destination
curl --request POST \
--url https://api.portable.io/v2/destinations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"destinationSpec": "<string>",
"displayName": "<string>",
"properties": {}
}
'{
"data": {
"id": 123,
"destinationSpec": {
"name": "<string>",
"displayName": "<string>",
"website": "<string>",
"tagLine": "<string>",
"lifecycle": "ALPHA",
"instructions": "<string>",
"propertyDefinitions": [
{
"name": "<string>",
"type": "STRING",
"required": true,
"displayName": "<string>",
"description": "<string>"
}
]
},
"displayName": "<string>",
"properties": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Destination to create
Created
Show child attributes
Show child attributes
The name of the destination spec
A human-readable name for the destination spec
The website of the destination spec
A one line description of the destination spec
ALPHA, BETA, STABLE, DEPRECATED Show child attributes
A machine-readable name for the property
The type of the property
STRING, PASSWORD, TEXT, NUMBER, BOOLEAN, DATE, DATETIME, TIME Whether the property's value is required
A human-readable name for the property
A human-readable description of the property
A human-readable name for the destination
The timestamp marking when the destination was created
The timestamp marking when the destination was last updated