Skip to main content

Authorization

Base URL
https://actionkit.useparagon.com/projects/[Project ID]
https://worker-actionkit.[On-Prem Base URL]/projects/[Project ID]
Authentication To authenticate to ActionKit API, present a Bearer token with the Paragon User Token (a JWT):
Authorization: Bearer [Paragon User Token]
This is the same token that you used to call .authenticate with the Paragon SDK. See examples in Installing the SDK.

Using Multi Account Authorization

Multi Account Authorization is a set of SDK options that enables you to connect multiple accounts of the same integration type for a Connected User. You can use Multi Account Authorization with ActionKit by specifying a credential with a header of X-Paragon-Credential.
REST API
POST https://actionkit.useparagon.com/projects/<Project ID>/actions

Authorization: Bearer <Paragon User Token>
X-Paragon-Credential: <Credential ID>

// Body
{
    "action": "SLACK_SEND_MESSAGE",
    "parameters": {
        "channel": "#general",
        "message": "Hello world!"
    }
}