curl --request POST \
--url https://api.openworklabs.com/v1/connector-accounts \
--header 'Content-Type: application/json' \
--data '
{
"connectorType": "github",
"remoteId": "<string>",
"displayName": "<string>",
"externalAccountRef": "<string>",
"metadata": {}
}
'{
"ok": true,
"item": {
"id": "<string>",
"organizationId": "<string>",
"connectorType": "github",
"remoteId": "<string>",
"externalAccountRef": "<string>",
"displayName": "<string>",
"status": "active",
"createdByOrgMembershipId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"metadata": {}
}
}Creates a connector account such as a GitHub App installation binding.
curl --request POST \
--url https://api.openworklabs.com/v1/connector-accounts \
--header 'Content-Type: application/json' \
--data '
{
"connectorType": "github",
"remoteId": "<string>",
"displayName": "<string>",
"externalAccountRef": "<string>",
"metadata": {}
}
'{
"ok": true,
"item": {
"id": "<string>",
"organizationId": "<string>",
"connectorType": "github",
"remoteId": "<string>",
"externalAccountRef": "<string>",
"displayName": "<string>",
"status": "active",
"createdByOrgMembershipId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"metadata": {}
}
}Was this page helpful?