Skip to main content
POST
/
api
/
v1
/
business
/
invite
/
accept
Accept a business invite token
curl --request POST \
  --url http://localhost:3001/api/v1/business/invite/accept \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "success": false,
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "email must be an email",
    "statusCode": 400,
    "errors": {}
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

The body is of type object.

Response

Bad request

success
boolean
required
Example:

false

error
object
required