Create a connector
POST {{baseUrl}}/v3/connectors/:provider
Create a connector in your Nylas application. Connectors are how your Nylas application stores information needed to connect to external services. Creating a connector is the first step in setting up authentication for your project. <!-- Customer Developer onboarding setup up OAuth strategy with ClientID/Secrets.-->
Request Body
{"provider"=>"<string>", "settings"=>{"client_id"=>"<string>", "client_secret"=>"<string>", "topic_name"=>"<string>"}, "scope"=>["<string>", "<string>"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"request_id":"\u003cstring\u003e","data":{"provider":"\u003cstring\u003e","settings":"\u003cobject\u003e","scope":["\u003cstring\u003e","\u003cstring\u003e"]}}