Headers
The version of the API to use. The current API version is 2025-09.
Body
application/json
Use this endpoint to add a credential programmatically via the API. This endpoint should be used primarily for non-OAuth blocks. If you are using custom OAuth with an OAuth block and you have the OAuth tokens already, you can add them to Alloy with this endpoint. Please reference this section of our docs for a complete tutorial on when and how to use this endpoint.
The version of the API to use. The current API version is 2025-09.