POST /companies/{companyId}/nonprofits

Returns a list of supported nonprofit organizations to choose from when creating a donation campaign. The list only contains nonprofits that are compatible with all the account holders specified in the request.

Servers

Path parameters

Name Type Required Description
companyId String Yes

The unique identifier of the company account.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Query parameters

Name Type Required Description
pageNumber Integer No

The number of the page to fetch.

goal[] Array No

One or more United Nations Sustainable Development Goals to return nonprofit organizations for. Format: unsdg_<number>, for example, &goal=unsdg_6&goal=unsdg_2.

pageSize Integer No

The number of items to have on a page, maximum 100. The default is 10 items on a page.

Default value: 10

searchTerm String No

A query to return nonprofit organizations for, maximum 100 characters. For example, &searchTerm=clean%20water.

Request body fields

Name Type Required Description
accountHolderIds[] Array Yes

The unique identifiers of the account holders to be included in a donation campaign.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.