Sources
List sources
Sources
List sources
List all the sources. A source is an instantiation of a source spec.
GET
/
v2
/
sources
Authorization
string
*
Bearer
Authorization
Required
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
curl --request GET \
--url https://api.portable.io/v2/sources \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": 80190,
"displayName": "John Doe's Google Calendar",
"sourceSpec": "google_calendar",
"createdAt": "2023‐06‐12T20:03:00Z",
"updatedAt": "2023-08-01T00:00:00Z"
},
{
"id": 80562,
"sourceSpec": "freshsales",
"createdAt": "2023‐06‐12T20:03:00Z",
"updatedAt": "2023-08-01T00:00:00Z"
}
]
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200 - application/json
data
object[]
requireddata.id
integer
requireddata.displayName
string
A human-readable name for the source
data.sourceSpec
string
requiredThe name of the source spec that this source is an instance of
data.createdAt
string
data.updatedAt
string
curl --request GET \
--url https://api.portable.io/v2/sources \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": 80190,
"displayName": "John Doe's Google Calendar",
"sourceSpec": "google_calendar",
"createdAt": "2023‐06‐12T20:03:00Z",
"updatedAt": "2023-08-01T00:00:00Z"
},
{
"id": 80562,
"sourceSpec": "freshsales",
"createdAt": "2023‐06‐12T20:03:00Z",
"updatedAt": "2023-08-01T00:00:00Z"
}
]
}