Skip to content

Create an integration

POST
/api/v1/integrations
curl --request POST \
--url https://renotify.app/api/v1/integrations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "type": "google_sheets", "name": "Customer Sheet", "credentials": { "access_token": "token" }, "config": { "sync_frequency": "daily" } }'

Create a new external integration for the current team.

Media typeapplication/json
object
type
required

The integration type.

string
Example
google_sheets
name
required

The integration name.

string
Example
Customer Sheet
credentials

The credentials required by the integration.

object
Example
{
"access_token": "token"
}
config

Additional integration configuration.

object
sync_frequency

The sync frequency.

string
nullable
Example
daily
field_mappings

Field mappings from the source system.

Array<string>
Example
[
{
"source": "email",
"target": "email"
}
]
Example
{
"sync_frequency": "daily"
}