Skip to main content
POST
/
v1
/
customers
/
{id}
/
token-share
Share customer token
curl --request POST \
  --url https://api.sandbox.busha.so/v1/customers/{id}/token-share \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}
'
{
"status": "success",
"message": "message for success"
}

Authorizations

Authorization
string
header
required

Bearer Authentication

Headers

X-BU-PROFILE-ID
string

User profile header

Example:

"BUS_YOK8tp5Zga01qOKEsqp07"

Path Parameters

id
string<nanoid>
required
Example:

"bus_123456789"

Body

application/json

JWT token to be shared for the customer

token
string
required

JWT token

Response

A general response

General response Values

status
enum<string>
required
Available options:
success,
error
Example:

"success"

message
string
required
Example:

"message for success"