{ "opencollection": "1.0.0", "info": { "name": "GoFundMe Pro Brandkit API", "version": "2.0.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/oauth2/auth", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Brandkit", "type": "folder" }, "items": [ { "info": { "name": "List paginated brandkit images", "type": "http" }, "http": { "method": "GET", "url": "https://pro.gofundme.com/api/2.0/organizations/:organization_id/api-inference/brandkit/images", "params": [ { "name": "organization_id", "value": "", "type": "path", "description": "The Organization ID" }, { "name": "page", "value": "", "type": "query", "description": "Indicator of which page of results to return" }, { "name": "per_page", "value": "", "type": "query", "description": "Number of entries to return in each page of results" }, { "name": "sort", "value": "", "type": "query", "description": "Comma-separated field:direction pairs. Supported fields: updated_at, name, created_at, size. Supported directions: asc, desc. The first entry whose field AND direction are both valid is applied; any earlier entries with unknown fields or invalid directions are skipped. If no entry matches, upstream default ordering is used — the endpoint never returns 400 for a malformed sort." } ], "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/oauth2/auth", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Retrieves paginated brandkit images for an organization" }, { "info": { "name": "Upload image to brandkit", "type": "http" }, "http": { "method": "POST", "url": "https://pro.gofundme.com/api/2.0/organizations/:organization_id/api-inference/brandkit/image", "params": [ { "name": "organization_id", "value": "", "type": "path", "description": "The Organization ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/oauth2/auth", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Upload an image or array of images to the organization's brandkit" }, { "info": { "name": "Delete images from brandkit", "type": "http" }, "http": { "method": "DELETE", "url": "https://pro.gofundme.com/api/2.0/organizations/:organization_id/api-inference/brandkit/image", "params": [ { "name": "organization_id", "value": "", "type": "path", "description": "The Organization ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/oauth2/auth", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete one or more images from the organization's brandkit" }, { "info": { "name": "Update brandkit image properties", "type": "http" }, "http": { "method": "PUT", "url": "https://pro.gofundme.com/api/2.0/organizations/:organization_id/api-inference/brandkit/image/:bk_id", "params": [ { "name": "organization_id", "value": "", "type": "path", "description": "The Organization ID" }, { "name": "bk_id", "value": "", "type": "path", "description": "The Brandkit Image ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/oauth2/auth", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update properties of an existing image in the organization's brandkit (database only)" } ] } ], "bundled": true }