curl --request POST \
--url https://api.nango.dev/integrations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"unique_key": "<string>",
"provider": "<string>",
"display_name": "<string>",
"credentials": {
"type": "OAUTH1",
"client_id": "<string>",
"client_secret": "<string>",
"scopes": "<string>"
}
}'
{
"data": {
"unique_key": "slack-nango-community",
"display_name": "Slack",
"provider": "slack",
"logo": "http://localhost:3003/images/template-logos/github.svg",
"created_at": "2023-10-16T08:45:26.241Z",
"updated_at": "2023-10-16T08:45:26.241Z",
}
}
Create an integration
curl --request POST \
--url https://api.nango.dev/integrations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"unique_key": "<string>",
"provider": "<string>",
"display_name": "<string>",
"credentials": {
"type": "OAUTH1",
"client_id": "<string>",
"client_secret": "<string>",
"scopes": "<string>"
}
}'
{
"data": {
"unique_key": "slack-nango-community",
"display_name": "Slack",
"provider": "slack",
"logo": "http://localhost:3003/images/template-logos/github.svg",
"created_at": "2023-10-16T08:45:26.241Z",
"updated_at": "2023-10-16T08:45:26.241Z",
}
}
{
"data": {
"unique_key": "slack-nango-community",
"display_name": "Slack",
"provider": "slack",
"logo": "http://localhost:3003/images/template-logos/github.svg",
"created_at": "2023-10-16T08:45:26.241Z",
"updated_at": "2023-10-16T08:45:26.241Z",
}
}
The secret key from your Nango environment.
Successfully created an integration
The response is of type object
.