Sources API
Manage your sources using a simple HTTP API.
get
https://logtail.com
/api/v1/sources
Listing all existing sources
Example cURL
1
curl --request GET \
2
--url https://logtail.com/api/v1/sources \
3
--header 'Authorization: Bearer YOUR_API_TOKEN'
Copied!
get
https://logtail.com
/api/v1/sources/:id
Getting a single source
Example cURL
1
curl --request GET \
2
--url https://logtail.com/api/v1/sources/123 \
3
--header 'Authorization: Bearer YOUR_API_TOKEN'
Copied!
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
Last modified 2mo ago