Provider Groups
A group is a user-defined custom folder for organizing providers in your instance like 'Sales Tools' or 'Engineering'.
Provider Groups object
Attributes
object
StringString representing the object's type
id
StringUnique group identifier
name
StringDisplay name of the group
description
StringNullableDescription of the group
slug
StringURL-friendly identifier
created_at
DateTimestamp when created
updated_at
DateTimestamp when last updated
{"object": "provider.group","id": "pgr_3nPqRsTuVwXyZaBc","name": "Sales Integrations","description": "CRM and sales pipeline integrations for sales agents","slug": "sales-integrations","created_at": "2025-09-15T10:30:00.000Z","updated_at": "2026-01-10T14:45:00.000Z"}
List provider groups
Returns a paginated list of provider groups.
Query Parameters
limit
NumberOptionalMaximum number of items to return (1-100)
after
StringOptionalReturn items after this ID
before
StringOptionalReturn items before this ID
cursor
StringOptionalPagination cursor from a previous response
order
EnumOptionalSort order for results
curl -X GET "https://api.metorial.com/provider-groups" \-H "Authorization: Bearer metorial_sk_..."
Get provider group
Retrieves a specific provider group by ID.
URL Parameters
provider_group_id
StringThe unique identifier for the provider_group
curl -X GET "https://api.metorial.com/provider-groups/pro_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."
Create provider group
Creates a new custom provider group.
Request Body
name
Stringdescription
StringOptionalcurl -X POST "https://api.metorial.com/provider-groups" \-H "Content-Type: application/json" \-H "Authorization: Bearer metorial_sk_..." \-d '{"name": "example_name","description": "example_description"}'
Update provider group
Updates an existing provider group.
URL Parameters
provider_group_id
StringThe unique identifier for the provider_group
Request Body
name
StringOptionaldescription
StringOptionalcurl -X PATCH "https://api.metorial.com/provider-groups/pro_Rm4Mnheq2bfEPhBhP7SY" \-H "Content-Type: application/json" \-H "Authorization: Bearer metorial_sk_..." \-d '{"name": "example_name","description": "example_description"}'
Add listing to group
Adds a provider listing to a group.
URL Parameters
provider_group_id
StringThe unique identifier for the provider_group
Request Body
provider_listing_id
Stringcurl -X POST "https://api.metorial.com/provider-groups/pro_Rm4Mnheq2bfEPhBhP7SY/listings" \-H "Content-Type: application/json" \-H "Authorization: Bearer metorial_sk_..." \-d '{"provider_listing_id": "example_provider_listing_id"}'
Remove listing from group
Removes a provider listing from a group.
URL Parameters
provider_group_id
StringThe unique identifier for the provider_group
provider_listing_id
StringThe unique identifier for the provider_listing
curl -X DELETE "https://api.metorial.com/provider-groups/pro_Rm4Mnheq2bfEPhBhP7SY/listings/pro_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."