Create security settings

This method will create new security settings.

Please log in to see full path URL. Learn why.
post
/subscriptions/1/security
Request Body schema:
application/json
collapse all -
authId
required
string [ 1 .. 255 ] characters

Unique security setting ID. Used as part of a URL path and must not include any characters that require URL encoding. You cannot change the ID once an item is created.

type
string
Enum: "BASIC" "HMAC" "OAUTH"

Credentials type.

credentials
BasicCredentials (object) or HmacCredentials (object) or OauthCredentials (object)

Webhook security credentials.

One of
  • BasicCredentials
  • HmacCredentials
  • OauthCredentials

Basic credentials.

username
required
string [ 1 .. 255 ] characters

Username.

password
required
string [ 1 .. 255 ] characters

Password.

Responses

201

Created.

400

Bad request.

401

Unauthorized

403

Forbidden

404

Not found.

429

Too many requests.

500

Internal Server Error

Request samples

Content type
application/json
Copy
Collapse all
{
  • "authId": "NEWAUTH-9291",
  • "type": "BASIC",
  • "credentials":
    {
    • "username": "user1",
    • "password": "password1"
    }
}

Response samples

Content type
application/json
Copy
Collapse all
{
  • "authId": "string"
}

Encountering issues

Contact our support

What's new? Check out

Release Notes

Unsure about a term? See

Glossary

Research panel

Help shape the future of our products
Learn more
Service status

Copyright @ 2006-2025 Infobip ltd.