Sign in to fill these examples with your own keys. Sign in Start free trial

Support tickets

Submit a support request and follow its replies.

Ask the PostShiba team for help. A ticket is filed for the token's team as the token's user, and replies come back on the ticket and by email. category is one of sending, domains, receiving, billing, account, other. A team can have 20 open tickets.

GET /api/v1/teams/:obfuscated_team_id/support_tickets

List the team's open support tickets, newest activity first.

  • all: true to include resolved tickets
request.sh
1curl -sS -X GET \ 2 -H 'Authorization: Bearer YOUR_API_KEY' \ 3 https://app.postshiba.com/api/v1/teams/KjkAJW/support_tickets
response.json
1[ 2 { 3 "id": "SuPtKt", 4 "subject": "Forwarded mail bounces with SPF fail", 5 "category": "receiving", 6 "status": "open", 7 "created_at": "2026-11-27T09:00:00.000Z", 8 "updated_at": "2026-11-27T09:00:00.000Z", 9 "resolved_at": null 10 } 11]

GET /api/v1/support_tickets/:id

Get one support ticket with its messages.

  • id: Public support ticket id
request.sh
1curl -sS -X GET \ 2 -H 'Authorization: Bearer YOUR_API_KEY' \ 3 https://app.postshiba.com/api/v1/support_tickets/:id
response.json
1{ 2 "id": "SuPtKt", 3 "subject": "Forwarded mail bounces with SPF fail", 4 "category": "receiving", 5 "status": "open", 6 "created_at": "2026-11-27T09:00:00.000Z", 7 "updated_at": "2026-11-27T09:00:00.000Z", 8 "resolved_at": null, 9 "messages": [ 10 { 11 "from": "customer", 12 "body": "Mail forwarded from our Google Workspace support address bounces with 550 5.7.1 SPF fail.", 13 "created_at": "2026-11-27T09:00:00.000Z" 14 } 15 ] 16}

POST /api/v1/teams/:obfuscated_team_id/support_tickets

Submit a support request to the PostShiba team.

  • subject: Short summary, up to 80 characters
  • category: sending, domains, receiving, billing, account, other
  • body: What happened, what you expected, and any message ids, domains, or bounce text
request.sh
1curl -sS -X POST \ 2 -H 'Authorization: Bearer YOUR_API_KEY' \ 3 -H 'Content-Type: application/json' \ 4 -d '{"support_ticket":{"subject":"Forwarded mail bounces with SPF fail","category":"receiving","body":"Mail forwarded from our Google Workspace support address bounces with 550 5.7.1 SPF fail."}}' \ 5 https://app.postshiba.com/api/v1/teams/KjkAJW/support_tickets
response.json
1{ 2 "id": "SuPtKt", 3 "subject": "Forwarded mail bounces with SPF fail", 4 "category": "receiving", 5 "status": "open", 6 "created_at": "2026-11-27T09:00:00.000Z", 7 "updated_at": "2026-11-27T09:00:00.000Z", 8 "resolved_at": null, 9 "messages": [ 10 { 11 "from": "customer", 12 "body": "Mail forwarded from our Google Workspace support address bounces with 550 5.7.1 SPF fail.", 13 "created_at": "2026-11-27T09:00:00.000Z" 14 } 15 ] 16}

POST /api/v1/support_tickets/:id/reply

Add a reply to a support ticket. A resolved ticket reopens.

  • id: Public support ticket id
  • body: The reply
request.sh
1curl -sS -X POST \ 2 -H 'Authorization: Bearer YOUR_API_KEY' \ 3 -H 'Content-Type: application/json' \ 4 -d '{"support_ticket_message":{"body":"It still bounces for mail from example.com."}}' \ 5 https://app.postshiba.com/api/v1/support_tickets/:id/reply
response.json
1{ 2 "id": "SuPtKt", 3 "subject": "Forwarded mail bounces with SPF fail", 4 "category": "receiving", 5 "status": "open", 6 "created_at": "2026-11-27T09:00:00.000Z", 7 "updated_at": "2026-11-27T09:00:00.000Z", 8 "resolved_at": null, 9 "messages": [ 10 { 11 "from": "customer", 12 "body": "Mail forwarded from our Google Workspace support address bounces with 550 5.7.1 SPF fail.", 13 "created_at": "2026-11-27T09:00:00.000Z" 14 } 15 ] 16}