{ "opencollection": "1.0.0", "info": { "name": "MessageBird Balance Available Numbers Groups API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Groups", "type": "folder" }, "items": [ { "info": { "name": "List groups for a contact", "type": "http" }, "http": { "method": "GET", "url": "https://rest.messagebird.com/contacts/:contactId/groups", "params": [ { "name": "contactId", "value": "", "type": "path", "description": "The unique identifier of the contact." }, { "name": "offset", "value": "", "type": "query", "description": "The number of items to skip." }, { "name": "limit", "value": "", "type": "query", "description": "The maximum number of items to return." } ] }, "docs": "Retrieves all groups that a specific contact belongs to." }, { "info": { "name": "List groups", "type": "http" }, "http": { "method": "GET", "url": "https://rest.messagebird.com/groups", "params": [ { "name": "offset", "value": "", "type": "query", "description": "The number of items to skip." }, { "name": "limit", "value": "", "type": "query", "description": "The maximum number of items to return." } ] }, "docs": "Retrieves a paginated list of all contact groups." }, { "info": { "name": "Create a group", "type": "http" }, "http": { "method": "POST", "url": "https://rest.messagebird.com/groups", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new contact group with the specified name." }, { "info": { "name": "View a group", "type": "http" }, "http": { "method": "GET", "url": "https://rest.messagebird.com/groups/:groupId", "params": [ { "name": "groupId", "value": "", "type": "path", "description": "The unique identifier of the group." } ] }, "docs": "Retrieves the details of a specific group by its unique identifier." }, { "info": { "name": "Update a group", "type": "http" }, "http": { "method": "PATCH", "url": "https://rest.messagebird.com/groups/:groupId", "params": [ { "name": "groupId", "value": "", "type": "path", "description": "The unique identifier of the group." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the name of an existing group." }, { "info": { "name": "Delete a group", "type": "http" }, "http": { "method": "DELETE", "url": "https://rest.messagebird.com/groups/:groupId", "params": [ { "name": "groupId", "value": "", "type": "path", "description": "The unique identifier of the group." } ] }, "docs": "Deletes an existing group. This does not delete the contacts in the group." }, { "info": { "name": "List contacts in a group", "type": "http" }, "http": { "method": "GET", "url": "https://rest.messagebird.com/groups/:groupId/contacts", "params": [ { "name": "groupId", "value": "", "type": "path", "description": "The unique identifier of the group." }, { "name": "offset", "value": "", "type": "query", "description": "The number of items to skip." }, { "name": "limit", "value": "", "type": "query", "description": "The maximum number of items to return." } ] }, "docs": "Retrieves all contacts that belong to a specific group." }, { "info": { "name": "Add contacts to a group", "type": "http" }, "http": { "method": "PUT", "url": "https://rest.messagebird.com/groups/:groupId/contacts", "params": [ { "name": "groupId", "value": "", "type": "path", "description": "The unique identifier of the group." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Adds one or more contacts to a group by their contact identifiers." }, { "info": { "name": "Remove a contact from a group", "type": "http" }, "http": { "method": "DELETE", "url": "https://rest.messagebird.com/groups/:groupId/contacts/:contactId", "params": [ { "name": "groupId", "value": "", "type": "path", "description": "The unique identifier of the group." }, { "name": "contactId", "value": "", "type": "path", "description": "The unique identifier of the contact." } ] }, "docs": "Removes a specific contact from a group." } ] } ], "bundled": true }