Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Add multiple subscribers via the API

Hello,

 

I got a question about the Statuspage API. I'm trying to import a list of subscribers via the API.

Is it possible to add multiple subscribers in a single API request?

My syntax at the moment looks like this:

{
"subscriber":{
"email": "some email",
"skip_confirmation_notification": "false",
"component_ids": [
"id1",
"id2",
"id3"
]
}
},
{
"subscriber":{
"email": "some mail 2",
"skip_confirmation_notification": "false",
"component_ids": [
"id1",
"id2",
]
}
}

With this input, I get a error 400 back. Also when I merge the second part with the contents in the first part it does not work. When I only use the first subscriber part it works fine.

Looking forward for the response.

-Ivo

1 answer

1 accepted

1 vote
Answer accepted
Rahul S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jul 19, 2021

Hi there,

Our subscriber API currently creates only one subscriber at a time. If you wish to create multiple subscribers at time then you'd need to include a loop and call the API {# no of subscribers} times. This would involve custom scripting, which is something we do provide support for.

Might we suggest to use our import subscriber option from the Statuspage subscribers UI? You can find more info on the same: https://support.atlassian.com/statuspage/docs/import-subscribers-via-csv/

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events