Skip to Content
Developers @ LaunchGood
Organizations

Get an organization

GET
/organizations/{id}

A public organization: a business organization that is active. One that does not exist and one that is not public (a personal, draft, pending, restricted, suspended or closed one) are the same 404: the answer does not say which. Needs a valid token. Which scope public reads require is still open.

Authorization

oauth2
headerAuthorizationBearer <token>

OAuth 2.0 client-credentials grant. Scopes follow the ReBAC grammar {type}:{id}:...:{role}; a {placeholder} stands for an id.

Path Parameters

id*string

The organization id: the Organization.id that the organization:{organizationId}:... scopes name.

Match^[A-Za-z0-9_-]{1,64}$

Response Body

The organization.

application/json
  1. response
id*string

The organization id: the Organization.id that the organization:{organizationId}:... scopes name.

name*string
country*string

ISO 3166-1 alpha-2.

Match^[A-Z]{2}$
description*string|null
currency*|

ISO 4217 currency the organization is paid in.

Match^[A-Z]{3}$
organizationType*||
verified*boolean

Verified by LaunchGood.

logoUrl*|
Formaturi
Example Request
curl -X GET 'https://api2.launchgood.com/organizations/clx9k2m4p0000abcd1234efgh' \  -H 'Authorization: Bearer '
Example Response
{  "id": "clx9k2m4p0000abcd1234efgh",  "name": "Hope Relief Foundation",  "country": "US",  "description": "string",  "currency": "string",  "organizationType": "501c3",  "verified": true,  "logoUrl": "http://example.com"}

Search campaigns GET

Public campaigns, filtered and sorted. Filters combine with AND; within a list filter at least one value must match. Only campaigns the LaunchGood site lists publicly are served: active, completed, failed or completed-unpaid, not hidden and not archived. `slug` finds the campaigns with that exact slug: a page of zero, one or more, because a slug is not promised to be unique. A slug is looked up in the campaign records, which cannot also search, rank or filter, so `slug` cannot be combined with `q`, `sort`, `categories`, `countries`, `zakatVerified`, `organizationType` or `nearMe`: such a request is a 400 that names them, and `limit` and `offset` are the only parameters that go with it. `offset` and `limit` count positions in the order of the search, before a campaign is left out, and `hasMore` is whether the search has a row after the page. A page can hold fewer items than `limit`, even none: follow `meta.hasMore`, not the page length. `offset` plus `limit` cannot pass 9,999 (a 400 says so). Needs a valid token. Which scope public reads require is still open.

List the campaigns of an organization GET

Filtered, sorted and paged. Only campaigns the LaunchGood site lists publicly are served: active, completed, failed or completed-unpaid, not hidden and not archived. An organization that does not exist and one that is not public are the same 404. The campaigns are those of the organization's 3.0 accounts, merged in the requested order; `offset` and `limit` count positions in the merged order, before a campaign is left out, and `hasMore` is whether the merge has a row after the page. A page can hold fewer items than `limit`, even none: follow `meta.hasMore`, not the page length. `offset` plus `limit` cannot pass 9,999, a 400 says so. An organization with more than one 3.0 account is read account by account and merged, so for it the window is 1,000 rows: `offset` plus `limit` cannot pass 999, and the campaigns are those of its first 10 accounts, oldest link first. Needs a valid token. Which scope public reads require is still open.