Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Proxy request to integration API #5

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

candanedo
Copy link
Owner

@candanedo candanedo commented Feb 20, 2024

What changed

If you'd like to issue a request from your server to an integration on behalf of an end-user, you can make a request to:
/projects/<Project ID>/sdk/proxy/<Integration Type>/<API Path>
or
/projects/<Project ID>/sdk/proxy/custom/<Integration ID>/<API Path>

  • A Bearer token must also be specified with a Paragon User Token.
  • This endpoint accepts any HTTP verb you want to use with the API.
  • Body contents must be specified as application/json.
// POST https://api.useparagon.com/projects/19d...012/sdk/proxy/slack/chat.postMessage

// Authorization: Bearer eyJ...
// Content-Type: application/json

{ 
    "channel": "CXXXXXXX0", 
    "text": "This message was sent with Paragon Connect :exploding_head:" 
}

@candanedo candanedo force-pushed the feature/proxy_request_to_integration_api branch from 0c2a171 to 01d0269 Compare February 20, 2024 06:13
@candanedo candanedo self-assigned this Feb 20, 2024
@candanedo candanedo merged commit 3e4b789 into main Feb 20, 2024
2 checks passed
@candanedo candanedo deleted the feature/proxy_request_to_integration_api branch February 22, 2024 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant