End Users
End-users in ToolCharm are just another way to refer to your application's users. End-users are how we manage what integrations your users have connected to so we can perform actions on their behalf.
Create an End User
POST /endUsers
Body Parameters
There are no body parameters for this request.
Sample Response
{
"id": "00QHn000024LD2JMAW"
}
Code Sample
curl -X POST https://api.toolcharm.com/endUsers \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"
Get an End User
GET /endUsers/{endUserId}
URL Parameters
- endUserId (string, required) - The ID of the end user you want to retrieve.
Sample Request: /endUsers/00QHn000024LD2JMAW
Sample Response
{
"id": "00QHn000024LD2JMAW",
"authenticatedIntegrations": ["Salesforce"]
}
Code Sample
curl -X GET https://api.toolcharm.com/endUsers/00QHn000024LD2JMAW \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"