cURL
curl --request POST \ --url https://api.withampersand.com/v1/projects/{projectIdOrName}/provider-apps \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: <api-key>' \ --data '{ "externalRef": "external-id-123", "provider": "salesforce", "clientId": "client-id-123", "clientSecret": "client-secret-123", "scopes": [ [ "read", "write" ] ] }'
{ "id": "provider-app-123", "projectId": "project-456", "externalRef": "external-id-123", "provider": "salesforce", "clientId": "client-id-123", "scopes": [ [ "oauth", "offline", "crm.read" ] ], "createTime": "2023-11-07T05:31:56Z", "updateTime": "2023-11-07T05:31:56Z" }
The Ampersand project ID or project name.
The newly created provider app
The response is of type object.
object
Was this page helpful?