5b5b5f694e25
latestOpenAPI 3.1.02026-08-13160205478.7 KBpaladin
Add a Paladin context source
Configures a context source (a Slack channel or a document) for a Paladin to read. Idempotent, so re-adding an existing source returns it.
post/paladin/{paladin_id}/context-sources
Path parameters
paladin_idstring uuid required
The ID of the Paladin.
Request body
Example request
{
"source_kind": "SLACK_CHANNEL",
"third_party_provider": "SLACK",
"remote_id": "C0123456789",
"name": "#access-requests"
}Response
The configured context source.
Example response
{
"id": "8a1f2c3d-4b5e-6f70-8192-a3b4c5d6e7f8",
"paladin_id": "32acc112-21ff-4669-91c2-21e27683eaa1",
"source_kind": "SLACK_CHANNEL",
"third_party_provider": "SLACK",
"remote_id": "C0123456789",
"name": "#access-requests",
"url": "https://example.slack.com/archives/C0123456789"
}