List providers for the current organization
GET
/api/v1/providers
const url = 'https://api.yggy.tech/api/v1/providers?mine=true';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.yggy.tech/api/v1/providers?mine=true' \ --header 'Authorization: Bearer <token>'Defaults to org-scoped providers only. Pass ?mine=true to list the caller’s own user-scoped connections instead (e.g. their personal Google Drive), never both at once, so one member’s personal connection never appears on another member’s list.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” mine
string
Responses
Section titled “ Responses ”List of providers
Media type application/json
object
providers
required
Array<object>
object
id
required
string
organizationId
required
string
userId
required
string | null
type
required
string
name
required
string
status
required
string
config
required
object
key
additional properties
detail
required
string | null
lastSyncAt
required
string | null
failingSince
required
Start of the current run of failed syncs; null while syncs work.
string | null
lastErrorClass
required
Why the last sync failed. Never the provider’s own error text.
string | null
createdAt
required
string
updatedAt
required
string
Example
{ "providers": [ { "type": "jira", "status": "connected", "lastErrorClass": "provider_error" } ]}No active organization
Media type application/json
object
success
required
boolean
error
required
object
message
required
string
code
required
string
details
Example
{ "success": false, "error": { "code": "INTERNAL_ERROR" }}Not authenticated
Media type application/json
object
success
required
boolean
error
required
object
message
required
string
code
required
string
details
Example
{ "success": false, "error": { "code": "INTERNAL_ERROR" }}