curl --request POST \
--url https://api.spacebring.com/support/tickets/v1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ticket": {
"type": "access",
"text": "<string>",
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userRefRequester": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
'{
"activities": [
{
"createDate": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"membership": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"roleType": "<string>",
"type": "<string>",
"user": {
"blocked": true,
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"surname": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>"
}
},
"ticketRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "comment",
"data": {
"attachments": [
{
"key": "<string>"
}
],
"text": "<string>",
"status": "<string>",
"membershipAssignee": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"roleType": "<string>",
"type": "<string>",
"user": {
"blocked": true,
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"surname": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>"
}
},
"previousAttributes": {
"status": "<string>",
"membershipAssignee": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"roleType": "<string>",
"type": "<string>",
"user": {
"blocked": true,
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"surname": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>"
}
}
}
}
}
],
"ticket": {
"createDate": "2023-11-07T05:31:56Z",
"description": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"membershipAssignee": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"roleType": "<string>",
"type": "<string>",
"user": {
"blocked": true,
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"surname": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>"
}
},
"membershipRequester": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"roleType": "<string>",
"type": "<string>",
"user": {
"blocked": true,
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"surname": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>"
}
},
"membershipRefAssignee": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"membershipRefRequester": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number": 123,
"status": "new",
"type": "access",
"updateDate": "2023-11-07T05:31:56Z",
"userAssignee": {
"about": "<string>",
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"surname": "<string>"
},
"userRequester": {
"about": "<string>",
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"surname": "<string>"
}
}
}Create a support ticket.
supportcurl --request POST \
--url https://api.spacebring.com/support/tickets/v1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ticket": {
"type": "access",
"text": "<string>",
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userRefRequester": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
'{
"activities": [
{
"createDate": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"membership": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"roleType": "<string>",
"type": "<string>",
"user": {
"blocked": true,
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"surname": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>"
}
},
"ticketRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "comment",
"data": {
"attachments": [
{
"key": "<string>"
}
],
"text": "<string>",
"status": "<string>",
"membershipAssignee": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"roleType": "<string>",
"type": "<string>",
"user": {
"blocked": true,
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"surname": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>"
}
},
"previousAttributes": {
"status": "<string>",
"membershipAssignee": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"roleType": "<string>",
"type": "<string>",
"user": {
"blocked": true,
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"surname": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>"
}
}
}
}
}
],
"ticket": {
"createDate": "2023-11-07T05:31:56Z",
"description": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"membershipAssignee": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"roleType": "<string>",
"type": "<string>",
"user": {
"blocked": true,
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"surname": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>"
}
},
"membershipRequester": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"roleType": "<string>",
"type": "<string>",
"user": {
"blocked": true,
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"surname": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>"
}
},
"membershipRefAssignee": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"membershipRefRequester": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number": 123,
"status": "new",
"type": "access",
"updateDate": "2023-11-07T05:31:56Z",
"userAssignee": {
"about": "<string>",
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"surname": "<string>"
},
"userRequester": {
"about": "<string>",
"email": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"phoneNumber": "<string>",
"photoUrl": "<string>",
"surname": "<string>"
}
}
}See our authentication documentation for how to authorize your requests
The id of the network. Required when using bearer token authentication
Show child attributes
access, accountAndBilling, bookings, cleaning, discriminationAndHarassment, internet, mailAndPackages, noiseAndAcoustics, offensiveOrObjectionableContent, other, printing, repairAndMaintenance, temperatureAndVentilation, websiteAndApp The text of the ticket.
The id of the location.
The id of the user who is requesting the ticket.
Created
Show child attributes
The date and time in ISO 8601 format, e.g. 2021-05-21T10:00:00Z
Show child attributes
Show child attributes
comment, statusUpdated, typeUpdated, assigneeUpdated Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
The date and time in ISO 8601 format, e.g. 2021-05-21T10:00:00Z
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Unique identifier of ticket in location.
new, inProgress, solved, closed access, accountAndBilling, bookings, cleaning, discriminationAndHarassment, internet, mailAndPackages, noiseAndAcoustics, other, printing, repairAndMaintenance, temperatureAndVentilation, websiteAndApp The date and time in ISO 8601 format, e.g. 2021-05-21T10:00:00Z