Channel creation API
    • PDF

    Channel creation API

    • PDF

    Article summary

    Channel creation API

    Create a channel.

    Request

    • Method : POST
    • URI : /channel
    POST
    url : https://dashboard-api.gamechat.naverncp.com/v1/api/project/{projectId}/channel
    Header : 'x-api-key: {API Key}'
    Header : 'content-type: application/json'
    data: '{
        "name":"#All"
    }'
    
    HeaderTypeRequiredDescription
    x-api-keyStringODashboard > Settings > Project settings > API Key
    AttributeTypeRequiredDescription
    projectIdStringOProject ID (Dashboard > Settings > Project settings > Project ID)
    nameStringOChannel name
    translationBooleanXTranslation availability
    uniqueIdStringXUnique ID that can be arbitrarily specified

    Response

    {
        "status": 1,
        "result": "1a51af0d-f464-4440-8ad6-ce69e0bdaba8"
    }
    
    AttributeTypeDescription
    statusIntResult (1: Successful. Refer to the error code for failures.)
    resultStringCreated channel ID

    Error code

    CodeDescription
    -100When the required parameter doesn't exist

    Was this article helpful?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.