curl --request POST \
--url https://api.sequin.io/v1/oauth-apps \
--header 'Authorization: Bearer YOUR_API_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"provider": "stripe",
"client_id": "db97a4eb-f488-46c8-b1a7-78be3d8380d1",
"client_secret": "e8c22f21-3455-4ad5-ae1e-76bee847dec9",
"name": "Arakkis - Stripe",
"metadata": { "custom_property": 42 }
}'
{
"id": "8ff58ef0-d376-4ae8-b2e2-9f0206aa65b8",
"provider": "stripe",
"name": "My Stripe OAuth App",
"client_id": "8ff58ef0-d376-4ae8-b2e2-9f0206aa65b8",
"client_secret": "**********",
"metadata": { "custom_property": 42 },
// the health field is coming soon
"health": {
"status": "ok",
"notes": [],
"time": "2023-12-15 01:29:29"
},
"created_at": "2024-02-20T02:10:52Z",
"updated_at": "2024-02-20T02:10:52Z"
}
OAuth apps
Create an OAuth app
This endpoint creates an OAuth app.
POST
/
v1
/
oauth-apps
curl --request POST \
--url https://api.sequin.io/v1/oauth-apps \
--header 'Authorization: Bearer YOUR_API_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"provider": "stripe",
"client_id": "db97a4eb-f488-46c8-b1a7-78be3d8380d1",
"client_secret": "e8c22f21-3455-4ad5-ae1e-76bee847dec9",
"name": "Arakkis - Stripe",
"metadata": { "custom_property": 42 }
}'
{
"id": "8ff58ef0-d376-4ae8-b2e2-9f0206aa65b8",
"provider": "stripe",
"name": "My Stripe OAuth App",
"client_id": "8ff58ef0-d376-4ae8-b2e2-9f0206aa65b8",
"client_secret": "**********",
"metadata": { "custom_property": 42 },
// the health field is coming soon
"health": {
"status": "ok",
"notes": [],
"time": "2023-12-15 01:29:29"
},
"created_at": "2024-02-20T02:10:52Z",
"updated_at": "2024-02-20T02:10:52Z"
}
Request parameters
The provider of the OAuth app. See a list of supported providers here.
Metadata for the OAuth app. This is a free-form object that you can use to store any additional information you want to associate with the OAuth app.
curl --request POST \
--url https://api.sequin.io/v1/oauth-apps \
--header 'Authorization: Bearer YOUR_API_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"provider": "stripe",
"client_id": "db97a4eb-f488-46c8-b1a7-78be3d8380d1",
"client_secret": "e8c22f21-3455-4ad5-ae1e-76bee847dec9",
"name": "Arakkis - Stripe",
"metadata": { "custom_property": 42 }
}'
Response fields
{
"id": "8ff58ef0-d376-4ae8-b2e2-9f0206aa65b8",
"provider": "stripe",
"name": "My Stripe OAuth App",
"client_id": "8ff58ef0-d376-4ae8-b2e2-9f0206aa65b8",
"client_secret": "**********",
"metadata": { "custom_property": 42 },
// the health field is coming soon
"health": {
"status": "ok",
"notes": [],
"time": "2023-12-15 01:29:29"
},
"created_at": "2024-02-20T02:10:52Z",
"updated_at": "2024-02-20T02:10:52Z"
}
Status of the OAuth app. Learn more about the health object.
The provider of the OAuth app. See a list of supported providers here.
Metadata for the OAuth app. This is a free-form object that you can use to store any additional information you want to associate with the OAuth app.

