Diana
08/13/2025, 3:24 PMPOST /v1/sources/create endpoint with an API key: I get a 401 Unauthorized error.
• Using the v1 endpoints like /sources with a Bearer token: same issue.
• Direct cURL requests to create a source with a static access token work, but that obviously bypasses the user’s own authentication.
My questions:
1. Is it currently possible to programmatically create a Facebook Marketing source in Airbyte Cloud while still using Airbyte’s OAuth flow for user authentication?
2. If not, are there any recommended workarounds or best practices for automating Facebook source creation for multiple users in Airbyte Cloud?
Thanks in advance!kapa.ai
08/13/2025, 3:25 PMDiana
08/13/2025, 3:29 PMPOST /v1/sources/create endpoint with an API key: I get a 401 Unauthorized error.
• Using the v1 endpoints like /sources with a Bearer token: same issue.
• Direct cURL requests to create a source with a static access token work, but that obviously bypasses the user’s own authentication.
My questions:
1. Is it currently possible to programmatically create a Facebook Marketing source in Airbyte Cloud while still using Airbyte’s OAuth flow for user authentication?
2. If not, are there any recommended workarounds or best practices for automating Facebook source creation for multiple users in Airbyte Cloud?
Thanks in advance!kapa.ai
08/13/2025, 3:29 PMkapa.ai
08/13/2025, 3:29 PMDiana
08/13/2025, 3:31 PMPOST /v1/sources/create endpoint with an API key: I get a 401 Unauthorized error.
• Using the v1 endpoints like /sources with a Bearer token: same issue.
• Direct cURL requests to create a source with a static access token work, but that obviously bypasses the user’s own authentication.
My questions:
1. Is it currently possible to programmatically create a Facebook Marketing source in Airbyte Cloud while still using Airbyte’s OAuth flow for user authentication?
2. If not, are there any recommended workarounds or best practices for automating Facebook source creation for multiple users in Airbyte Cloud?
Thanks in advance!kapa.ai
08/13/2025, 3:31 PMkapa.ai
08/13/2025, 3:31 PMDiana
08/13/2025, 3:38 PMkapa.ai
08/13/2025, 3:38 PMkapa.ai
08/13/2025, 3:38 PMDiana
08/13/2025, 3:38 PMPOST /v1/sources/create endpoint with an API key: I get a 401 Unauthorized error.
• Using the v1 endpoints like /sources with a Bearer token: same issue.
• Direct cURL requests to create a source with a static access token work, but that obviously bypasses the user’s own authentication.
My questions:
1. Is it currently possible to programmatically create a Facebook Marketing source in Airbyte Cloud while still using Airbyte’s OAuth flow for user authentication?
2. If not, are there any recommended workarounds or best practices for automating Facebook source creation for multiple users in Airbyte Cloud?kapa.ai
08/13/2025, 3:39 PMkapa.ai
08/13/2025, 3:39 PMDiana
08/13/2025, 3:41 PMkapa.ai
08/13/2025, 3:42 PMkapa.ai
08/13/2025, 3:42 PMDiana
08/14/2025, 6:19 AM/v1/sources/createOAuthLink) to create the source?kapa.ai
08/14/2025, 6:19 AMkapa.ai
08/14/2025, 6:19 AM/v1/sources/createOAuthLink endpoint), having the client complete the OAuth step in their browser, and then finalizing the source creation via the API. The available sources indicate that the OAuth flow in Airbyte Cloud is designed to be interactive and UI-driven, and there is no clear, documented API flow for generating an OAuth link and completing source creation programmatically for user-driven OAuth connectors like Facebook Marketing. The Airbyte team has acknowledged this gap and the lack of documentation for such automation scenarios, especially for managed OAuth flows in Airbyte Cloud. As of now, the process is not officially supported or documented for full automation outside the UI, and there are no details about a /v1/sources/createOAuthLink endpoint in the provided sources [secretId documentation unclear](https://github.com/airbytehq/airbyte/discussions/48607). If you need this functionality, you may need to reach out to Airbyte support or monitor their documentation for future updates.