Portal Consumer Invites
List and inspect consumer invites for a portal.
Portal Consumer Invites object
Attributes
object
Stringid
Stringstatus
Enumportal_url
StringNullableconsumer_profile
Objectinvited_by
Objectmessage
StringNullableaccepted_at
DateNullablecreated_at
Dateupdated_at
Date{"object": "consumer.invite","status": "pending","consumer_profile": {"object": "consumer.profile#preview"},"invited_by": {"object": "organization.actor#preview"}}
List portal consumer invites
Returns a paginated list of invites for a portal.
URL Parameters
portal_id
StringThe unique identifier for the portal
Query Parameters
limit
NumberOptionalafter
StringOptionalbefore
StringOptionalcursor
StringOptionalorder
EnumOptionalsearch
StringOptionalstatus
UnionOptionalGEThttp://api.metorial.com/portals/:portal_id/consumer-invites
curl -X GET "https://api.metorial.com/portals/por_Rm4Mnheq2bfEPhBhP7SY/consumer-invites" \-H "Authorization: Bearer metorial_sk_..."
Create portal consumer invite
Invites a consumer to a portal.
URL Parameters
portal_id
StringThe unique identifier for the portal
Request Body
name
Stringmessage
StringOptionalPOSThttp://api.metorial.com/portals/:portal_id/consumer-invites
curl -X POST "https://api.metorial.com/portals/por_Rm4Mnheq2bfEPhBhP7SY/consumer-invites" \-H "Content-Type: application/json" \-H "Authorization: Bearer metorial_sk_..." \-d '{"name": "example_name","email": "example_email","message": "example_message"}'
Get portal consumer invite
Retrieves a portal consumer invite by ID.
URL Parameters
portal_id
StringThe unique identifier for the portal
consumer_invite_id
StringThe unique identifier for the consumer_invite
GEThttp://api.metorial.com/portals/:portal_id/consumer-invites/:consumer_invite_id
curl -X GET "https://api.metorial.com/portals/por_Rm4Mnheq2bfEPhBhP7SY/consumer-invites/con_Rm4Mnheq2bfEPhBhP7SY" \-H "Authorization: Bearer metorial_sk_..."