diff --git a/swagger/paths/contact_inboxes/create.yml b/swagger/paths/contact_inboxes/create.yml index ec28c1a87..c6943d162 100644 --- a/swagger/paths/contact_inboxes/create.yml +++ b/swagger/paths/contact_inboxes/create.yml @@ -5,9 +5,16 @@ post: description: Create a contact inbox record for an inbox summary: Create contact inbox parameters: - - name: inbox_id - in: params - type: number + - name: data + in: body + required: true + schema: + type: object + properties: + inbox_id: + type: number + description: The id of the inbox + required: true responses: 200: description: Success diff --git a/swagger/swagger.json b/swagger/swagger.json index f9781f24a..1fe6583a8 100644 --- a/swagger/swagger.json +++ b/swagger/swagger.json @@ -948,9 +948,19 @@ "summary": "Create contact inbox", "parameters": [ { - "name": "inbox_id", - "in": "params", - "type": "number" + "name": "data", + "in": "body", + "required": true, + "schema": { + "type": "object", + "properties": { + "inbox_id": { + "type": "number", + "description": "The id of the inbox", + "required": true + } + } + } } ], "responses": {