Clients
Success
Object containing response data for this resource.
Indicates whether the request completed successfully.
Short code or application-level status code for this resource.
GET /agency/clients HTTP/1.1
Host: api.moregoodreviews.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Success
{
"success": true,
"code": 200,
"data": [
{
"id": 84,
"uuid": "31a5e9d6-9a58-45a6-a04d-5e45c7601a38",
"role_slug": "manager",
"invite_email": "jane@acmedental.example",
"invited_at": 1714507200,
"joined_at": null,
"created_at": 1714507200,
"updated_at": 1714593600,
"sections": [
{
"id": 7,
"slug": "reviews",
"uuid": "5f7f85d1-50d6-4b2c-998c-d04fc6f1a7e9"
}
],
"projects": [
{
"id": 42,
"name": "Acme Dental",
"slug": "acme-dental",
"uuid": "9b58d4c2-8f4f-4a0c-9d55-53db5c9e0a21",
"is_active": true,
"is_paused": false,
"is_suspended": false,
"features": {
"asks": 500,
"customers": 10000,
"locations": 10,
"members": 25,
"links": 10,
"tags": 50,
"widgets": 5,
"api": true,
"webhooks": true,
"forms_advanced": true,
"ambassador": false
},
"created_at": 1714507200,
"updated_at": 1714593600
}
]
}
]
}Object containing response data for this resource.
Email address of the client user to invite.
Project identifiers the client can access.
Role slug that controls the user's permissions.
Product section identifiers the client can access.
Success
Object containing response data for this resource.
Indicates whether the request completed successfully.
Short code or application-level status code for this resource.
POST /agency/clients HTTP/1.1
Host: api.moregoodreviews.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 94
{
"email": "jane@acmedental.example",
"project_ids": [
42
],
"role_slug": "manager",
"section_ids": [
7
]
}Success
{
"success": true,
"code": 200,
"data": {
"id": 84,
"uuid": "31a5e9d6-9a58-45a6-a04d-5e45c7601a38",
"role_slug": "manager",
"invite_email": "jane@acmedental.example",
"invited_at": 1714507200,
"joined_at": null,
"created_at": 1714507200,
"updated_at": 1714593600,
"sections": [
{
"id": 7,
"slug": "reviews",
"uuid": "5f7f85d1-50d6-4b2c-998c-d04fc6f1a7e9"
}
],
"projects": [
{
"id": 42,
"name": "Acme Dental",
"slug": "acme-dental",
"uuid": "9b58d4c2-8f4f-4a0c-9d55-53db5c9e0a21",
"is_active": true,
"is_paused": false,
"is_suspended": false,
"features": {
"asks": 500,
"customers": 10000,
"locations": 10,
"members": 25,
"links": 10,
"tags": 50,
"widgets": 5,
"api": true,
"webhooks": true,
"forms_advanced": true,
"ambassador": false
},
"created_at": 1714507200,
"updated_at": 1714593600
}
]
}
}Unique numeric identifier for the client user.
Object containing response data for this resource.
Role slug that controls the user's permissions.
Project identifiers the client can access.
Product section identifiers the client can access.
Success
Object containing response data for this resource.
Indicates whether the request completed successfully.
Short code or application-level status code for this resource.
PUT /agency/clients/{client_id} HTTP/1.1
Host: api.moregoodreviews.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 59
{
"role_slug": "viewer",
"project_ids": [
42
],
"section_ids": [
7
]
}Success
{
"success": true,
"code": 200,
"data": {
"id": 84,
"uuid": "31a5e9d6-9a58-45a6-a04d-5e45c7601a38",
"role_slug": "viewer",
"invite_email": "jane@acmedental.example",
"invited_at": 1714507200,
"joined_at": null,
"created_at": 1714507200,
"updated_at": 1714593600,
"sections": [
{
"id": 7,
"slug": "reviews",
"uuid": "5f7f85d1-50d6-4b2c-998c-d04fc6f1a7e9"
}
],
"projects": [
{
"id": 42,
"name": "Acme Dental",
"slug": "acme-dental",
"uuid": "9b58d4c2-8f4f-4a0c-9d55-53db5c9e0a21",
"is_active": true,
"is_paused": false,
"is_suspended": false,
"features": {
"asks": 500,
"customers": 10000,
"locations": 10,
"members": 25,
"links": 10,
"tags": 50,
"widgets": 5,
"api": true,
"webhooks": true,
"forms_advanced": true,
"ambassador": false
},
"created_at": 1714507200,
"updated_at": 1714593600
}
]
}
}Unique numeric identifier for the client user.
Success
Object containing response data for this resource.
Indicates whether the request completed successfully.
Short code or application-level status code for this resource.
DELETE /agency/clients/{client_id} HTTP/1.1
Host: api.moregoodreviews.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Success
{
"success": true,
"code": 200
}Unique numeric identifier for the client user.
Success
Object containing response data for this resource.
Indicates whether the request completed successfully.
Short code or application-level status code for this resource.
POST /agency/clients/{client_id}/resend-invite HTTP/1.1
Host: api.moregoodreviews.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Success
{
"success": true,
"code": 200,
"data": {
"id": 84,
"uuid": "31a5e9d6-9a58-45a6-a04d-5e45c7601a38",
"role_slug": "manager",
"invite_email": "jane@acmedental.example",
"invited_at": 1714507200,
"joined_at": null,
"created_at": 1714507200,
"updated_at": 1714593600,
"sections": [
{
"id": 7,
"slug": "reviews",
"uuid": "5f7f85d1-50d6-4b2c-998c-d04fc6f1a7e9"
}
],
"projects": [
{
"id": 42,
"name": "Acme Dental",
"slug": "acme-dental",
"uuid": "9b58d4c2-8f4f-4a0c-9d55-53db5c9e0a21",
"is_active": true,
"is_paused": false,
"is_suspended": false,
"features": {
"asks": 500,
"customers": 10000,
"locations": 10,
"members": 25,
"links": 10,
"tags": 50,
"widgets": 5,
"api": true,
"webhooks": true,
"forms_advanced": true,
"ambassador": false
},
"created_at": 1714507200,
"updated_at": 1714593600
}
]
}
}Last updated