Lists the approval requests of companies by an influencer
GET/api/influencer/:id/company
Lists the approval requests of companies by an influencer
Request
Path Parameters
id uuidrequired
The id of the influencer
Query Parameters
status stringrequired
Show specific statuses only
page integer
Possible values: >= 1
Page number
per_page integer
Possible values: >= 1 and <= 100
Number of items per page
Responses
- 200
- default
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
items object[]required
An array of influencer company approval request items.
id uuidrequired
The unique identifier of the influencer company approval request item.
influencer_id uuidrequired
The unique identifier of the influencer.
company_id uuidrequired
The unique identifier of the company.
status InfluencerCompanyApprovalStatusrequired
Possible values: [waiting_user_approval, approved, declined]
Influencer company approval status
total integerrequired
The total number of influencer company approval request items.
{
"items": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"influencer_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"company_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "waiting_user_approval"
}
],
"total": 0
}
Unexpected error
- application/json
- Schema
- Example (from schema)
Schema
code int32required
The error code
message stringrequired
A human-readable error message
{
"code": 0,
"message": "string"
}
Loading...