Sources API
Manage your sources using a simple HTTP API.
​
get
https://logtail.com
/api/v1/sources
Listing all existing sources
Example cURL
curl --request GET \
--url https://logtail.com/api/v1/sources \
--header 'Authorization: Bearer YOUR_API_TOKEN'
get
https://logtail.com
/api/v1/sources/:id
Getting a single source
Example cURL
curl --request GET \
--url https://logtail.com/api/v1/sources/123 \
--header 'Authorization: Bearer YOUR_API_TOKEN'
post
https://logtail.com
/api/v1/sources
Creating a source
patch
https://logtail.com
/api/v1/sources/:id
Updating an existing source
delete
https://logtail.com
/api/v1/sources/:id
Deleting an existing source
Copy link
On this page
get
Listing all existing sources
get
Getting a single source
post
Creating a source
patch
Updating an existing source
delete
Deleting an existing source