Skip to main content
Manage resources that live in your own systems and appear in your community. Each resource has a third_party_ref, which is its ID in your external system. Before you start, read the API overview for how authentication, headers, pagination and errors work.

List resources

Return the third-party resources in your community.
integer
The page of results to return.
integer
The number of results to return per page.
string
A search term to reduce the number of results. Matches title or third_party_ref.
List resources
GET https://your-community.zapnito.com/api/v1/third_party_resources

Get a resource

Return a single resource by its ID in your external system.
string
required
The ID of the resource in your external system.
Get a resource
GET https://your-community.zapnito.com/api/v1/third_party_resources/:third_party_ref
  • 200 OK: the resource was returned.
  • 404 Not Found: no resource matches the ID. The message reads Resource not found for ID: 1.

Create a resource

Create a new resource. Tags aren’t created for you, so any tags you assign must already exist. You can create tags first.
string
The ID of the resource in your external system.
string
required
The title of the resource.
string
The description, about text or body of the resource.
string
required
The URL of the external resource.
string
The URL of the resource’s thumbnail.
string
required
The category the resource belongs to.
boolean
default:false
Whether the canonical URL opens in a new tab.
string
The date and time the resource was published. ISO 8601 format is best for accuracy.
string[]
required
The names of the tags to assign to the resource.
Create a resource
POST https://your-community.zapnito.com/api/v1/third_party_resources
  • 200 OK: the resource was created.
  • 422 Unprocessable Entity: a required parameter is missing.

Update a resource

Update an existing resource. Send only the attributes you want to change. As when you create a resource, any tags you assign must already exist.
string
required
The ID of the resource in your external system.
string
The ID of the resource in your external system.
string
The title of the resource.
string
The description, about text or body of the resource.
string
The URL of the external resource.
string
The URL of the resource’s thumbnail.
string
The category the resource belongs to.
boolean
default:false
Whether the canonical URL opens in a new tab.
string
The date and time the resource was published. ISO 8601 format is best for accuracy.
string[]
The names of the tags to assign to the resource.
Update a resource
PUT https://your-community.zapnito.com/api/v1/third_party_resources/:third_party_ref
  • 200 OK: the resource was updated.
  • 422 Unprocessable Entity: a required parameter is missing.

Delete a resource

Delete a resource.
string
required
The ID of the resource in your external system.
Delete a resource
DELETE https://your-community.zapnito.com/api/v1/third_party_resources/:third_party_ref
  • 200 OK: the resource was deleted.
  • 404 Not Found: no resource matches the ID. The message reads Resource not found for ID: 1.